DiamondLightSource / DiamondLightSource/python-copier-template

Make codecov project check informational and only fail on patch check

Đang mở
#281 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jinja
Star
25
Fork
10
Merge trung bình
4 giờ 4 phút
Pull request đã merge (30 ngày)
6

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
ci-cd, testing
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.