DiamondLightSource / DiamondLightSource/python-copier-template
Make codecov project check informational and only fail on patch check
- Lingua principale
- Jinja
- Stelle
- 25
- Fork
- 10
- Merge medio
- 4h 4m
- PR unite (30g)
- 6
Descrizione
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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- ci-cd, testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100