DiamondLightSource / DiamondLightSource/python-copier-template

Make codecov project check informational and only fail on patch check

Ouverte
#281 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Jinja
Étoiles
25
Forks
10
Merge moyen
4 h 4 min
PR mergées (30 j)
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?

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
ci-cd, testing
Type d'issue
Fonctionnalité
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.