DiamondLightSource / DiamondLightSource/python-copier-template
Make codecov project check informational and only fail on patch check
- Dominant language
- Jinja
- Stars
- 25
- Forks
- 10
- Avg merge
- 4h 4m
- Merged PRs (30d)
- 6
Description
If a change overall removes lines and those lines were all covered, project coverage will be reduced.
This should not be a failure if patch coverage is good. Ideally we would allow project coverage to fail only if patch coverage is 100%, but I don't think that is possible.
This can be configured in codevcov.yaml: https://docs.codecov.com/docs/commit-status
Thoughts?
Contributor guide
Research direction
Start by inspecting the repository's codevcov.yaml configuration and the linked Codecov commit-status documentation. Check how the project and patch checks are currently configured; done means project coverage is informational while patch coverage remains the failing check, subject to the stated limitation about requiring 100% patch coverage.
Written by the indexing model from the issue text.
Assessment
- Domain
- ci-cd, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100