Skip to content

Add @pytest.mark.nightly marker to specify nightly tests#1372

Merged
cygnusv merged 3 commits intonucypher:masterfrom
cygnusv:noche
Oct 1, 2019
Merged

Add @pytest.mark.nightly marker to specify nightly tests#1372
cygnusv merged 3 commits intonucypher:masterfrom
cygnusv:noche

Conversation

@cygnusv
Copy link
Copy Markdown
Member

@cygnusv cygnusv commented Sep 30, 2019

  • Adds support in our pytest config to the @pytest.mark.nightly marker, similar to @pytest.mark.slow but for tests that are specifically designed for nightly builds.
  • Uses this marker for running a more robust statistical test for sampling (Closes Secondary CI workflows #1288)
  • Schedules tests to run at 06:00 UTC (08:00 CEST, 23:00 PDT).
    • East coast nucypherinos should be sleeping
    • West coast nucypherinos should be brushing their teeth
    • European nucypherinos are snoozing the alarm for the third time

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 30, 2019

Codecov Report

Merging #1372 into master will decrease coverage by 36.43%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1372       +/-   ##
===========================================
- Coverage   83.02%   46.58%   -36.44%     
===========================================
  Files          72       72               
  Lines       10457    10327      -130     
===========================================
- Hits         8682     4811     -3871     
- Misses       1775     5516     +3741
Impacted Files Coverage Δ
nucypher/cli/main.py 0% <0%> (-100%) ⬇️
nucypher/network/teachers.py 0% <0%> (-100%) ⬇️
nucypher/cli/characters/stake.py 0% <0%> (-81.19%) ⬇️
nucypher/cli/types.py 0% <0%> (-78.27%) ⬇️
nucypher/cli/deploy.py 0% <0%> (-77.65%) ⬇️
nucypher/cli/status.py 0% <0%> (-75%) ⬇️
nucypher/cli/actions.py 0% <0%> (-74.49%) ⬇️
nucypher/cli/characters/alice.py 0% <0%> (-71.97%) ⬇️
nucypher/cli/characters/enrico.py 0% <0%> (-70.28%) ⬇️
nucypher/cli/characters/bob.py 0% <0%> (-69.05%) ⬇️
... and 51 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adfd082...1f30503. Read the comment docs.

- schedule:
cron: "45 * * * *" # Just for testing configs
# cron: "0 6 * * *" # Scheduled for 0800 CEST / 2300 PDT
cron: "0 6 * * *" # Scheduled for 0800 CEST / 2300 PDT
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. CircleCI can do even that?

@cygnusv cygnusv merged commit 38e71dd into nucypher:master Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Automation General automation concerns Test 🔍 Tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Secondary CI workflows

4 participants