DiamondLightSource / DiamondLightSource/python-copier-template

Make codecov project check informational and only fail on patch check

未關閉
#281 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Jinja
星號
25
分支
10
平均合併
4 小時 4 分鐘
30 天內合併 PR
6

描述

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?

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

領域
ci-cd, testing
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。