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

Codecov Proposal: Allow the check to succeed even if a coverage threshold is missed #877

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

jmarshall
Copy link
Contributor

Sometimes (intermittently?) codecov has no data for either the base or head commit of a PR and can produce no coverage statistics. We don't want the GitHub checks to fail for spurious operational reasons like this, so mark these coverage checks as informational only.

For example here the base commit previously failed CI tests, and at several commits in #875 the HEAD statistics were missing so codecov/patch spuriously failed the build checks.

While it's good to pay attention to the coverage reports, I don't think we veto PRs on the basis of degraded coverage. So at least while there are intermittent spurious failures, we don't lose anything by stopping codecov from putting an ❌ on builds.

Sometimes (intermittently?) codecov has no data for either the base
or head commit of a PR and can produce no coverage statistics. We don't
want the GitHub checks to fail for spurious operational reasons like
this, so mark these coverage checks as informational only.
Copy link
Contributor

@illusional illusional left a comment

Choose a reason for hiding this comment

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

Yeah great shout, should apply this to prod-pipes given I merged that PR

@jmarshall jmarshall marked this pull request as ready for review August 8, 2024 04:25
@illusional illusional merged commit f72850b into dev Aug 12, 2024
7 checks passed
@illusional illusional deleted the informational-codecov branch August 12, 2024 22:13
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.

2 participants