Skip to content

Commit d18595f

Browse files
authored
🐛 Codecov reject any coverage drop (#8065)
Codecov reject any coverage drop Instead of failing every PR, check for coverage drop. In this way, the coverage can only raise naturally.
1 parent 399bb86 commit d18595f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.codecov.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ coverage:
44
status:
55
project:
66
default:
7-
target: 80
8-
threshold: 1%
7+
# Reject the coverage drop
8+
target: auto
9+
threshold: 0%
910
patch:
1011
# Disable the coverage threshold of the patch, so that PRs are
1112
# only failing because of overall project coverage threshold.

0 commit comments

Comments
 (0)