Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force --no-cov in nightly build #3382

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Conversation

jdangerx
Copy link
Member

@jdangerx jdangerx commented Feb 9, 2024

Since we don't run docs build in nightly, coverage is necessarily lower and fails our thresholds.

Overview

Closes #3381.

We added a "fail-under" threshold to our coverage configuration - which is useful to capture coverage drops. But, since we don't build the docs in nightly build, our unit/integration tests will always fail that threshold, thus failing the build.

We already calculate the coverage in CI, we don't need to do it in the nightly build.

Alternatives:

  • build docs in nightly build also
  • set --cov-fail-under=0 which effectively stops us from failing the threshold, but also is more confusing

Testing

How did you make sure this worked? How can a reviewer verify this?

I'm going to run a build on this branch via GHA and see if we still fail on coverage.

To-do list

Preview Give feedback

Since we don't run docs build in nightly, coverage is necessarily lower and fails our thresholds.
@jdangerx jdangerx requested review from cmgosnell, a team, zaneselvans and e-belfer and removed request for a team and zaneselvans February 9, 2024 13:50
@jdangerx jdangerx added this pull request to the merge queue Feb 9, 2024
Merged via the queue into main with commit 78bbe0c Feb 9, 2024
13 checks passed
@jdangerx jdangerx deleted the 3381-no-coverage-in-nightlies branch February 9, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Nightly Build Failure 2024-02-09
2 participants