Skip to content

Commit 02a8406

Browse files
committed
add .codecov.yml
1 parent 17af03b commit 02a8406

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.codecov.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# -- repository yaml --
2+
3+
# Explicitly wait for all jobs to finish, as wait_for_ci prematurely triggers.
4+
# See https://github.com/python-trio/trio/issues/2689
5+
codecov:
6+
notify:
7+
# This number needs to be changed whenever the number of runs in CI is changed.
8+
# Another option is codecov-cli: https://github.com/codecov/codecov-cli#send-notifications
9+
after_n_builds: 78
10+
wait_for_ci: false
11+
notify_error: true # if uploads fail, replace cov comment with a comment with errors.
12+
require_ci_to_pass: false
13+
14+
# only post PR comment if coverage changes
15+
comment:
16+
require_changes: true
17+
18+
coverage:
19+
# required range
20+
range: 99.6..100
21+
status:
22+
# require patches to be 100%
23+
patch:
24+
default:
25+
target: 100%

0 commit comments

Comments
 (0)