DiamondLightSource / DiamondLightSource/python-copier-template

Make codecov project check informational and only fail on patch check

Aperta
#281 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
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.

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?

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.