Skip to content

Commit d17db37

Browse files
Enforce 85% new line coverage (#1325)
1 parent 81a37e4 commit d17db37

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

codecov.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ coverage:
1919
if_ci_failed: ignore # require the CI to pass before setting the status
2020
patch:
2121
default:
22-
informational: true
22+
target: 85% # specify the target coverage for each commit status
23+
# option: "auto" (compare against parent commit or pull request base)
24+
# option: "X%" a static target percentage to hit
25+
threshold: 0% # allow the coverage drop by x% before marking as failure
2326
comment:
2427
layout: "header, files, footer"
2528
hide_project_coverage: false

0 commit comments

Comments
 (0)