Debian Codegraph @

.codecov.yml

raw
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: 35
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 # Publicly exposing the token has some small risks from mistakes or malicious actors.
15 # See https://docs.codecov.com/docs/codecov-tokens for correctly configuring it.
16 token: 87cefb17-c44b-4f2f-8b30-1fff5769ce46
17
18 # only post PR comment if coverage changes
19 comment:
20 require_changes: true
21
22 coverage:
23 # required range
24 precision: 5
25 round: down
26 range: 100..100
27 status:
28 project:
29 default:
30 target: 100%
31 patch:
32 default:
33 target: 100% # require patches to be 100%