Steve Lawrence created DAFFODIL-3081:
----------------------------------------
Summary: Configure codecov to not fail on master branch merges
Key: DAFFODIL-3081
URL: https://issues.apache.org/jira/browse/DAFFODIL-3081
Project: Daffodil
Issue Type: Bug
Components: Infrastructure
Reporter: Steve Lawrence
Codecov is used in pull requests to check if a PR has sufficient code coverage.
If a PR does not meet some threshold, the PR gets a red X to make this clear.
Note that this red X is not necessarily a blocker since it is sometimes not
possible or reasonable to meet the codecov requirement for some PRs, and so we
might merge a PR anyways.
But when we do this, codecov also runs on the main branch to give us our
overall coverage, but it will show the same red X making it look like CI failed
on the main branch. By merging a PR we are tacitly accepting whatever code
coverage it results in, so there is no reason to make the main branch CI look
like it failed, which could make it less likely to notice actual main branch
failures.
We should configure codecov so that the main branch runs never cause a failure
due to low patch code coverage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)