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

ci: drop codecov upload in this project #477

Merged
merged 1 commit into from
May 10, 2024

Conversation

rohanpm
Copy link
Member

@rohanpm rohanpm commented May 9, 2024

In this project, "tox -e cov" already runs pytest with --cov-fail-under=100, thus the coverage is always enforced to remain at 100%.

Sending the coverage data to a remote service seems of little value when the coverage is already enforced at 100% when the tests are run; in fact, we probably wouldn't even reach this step if the coverage was less than 100%, since tox should have failed.

It's a common source of CI flakiness, so just drop it.

In this project, "tox -e cov" already runs pytest with
`--cov-fail-under=100`, thus the coverage is always enforced to remain
at 100%.

Sending the coverage data to a remote service seems of little value
when the coverage is already enforced at 100% when the tests are run;
in fact, we probably wouldn't even reach this step if the coverage was
less than 100%, since tox should have failed.

It's a common source of CI flakiness, so just drop it.
@rohanpm rohanpm marked this pull request as ready for review May 9, 2024 21:56
@MichalHaluza MichalHaluza self-requested a review May 10, 2024 07:53
@MichalHaluza MichalHaluza merged commit 22244a5 into release-engineering:master May 10, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants