DiamondLightSource / DiamondLightSource/python-copier-template

Make codecov project check informational and only fail on patch check

Open
#281 1 comment 0 reactions 0 assignees View on GitHub
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.

Image

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.