-
-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3156 from jakkdl/codecov_stuff
Codecov improvements
- Loading branch information
Showing
2 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# -- repository yaml -- | ||
|
||
# Explicitly wait for all jobs to finish, as wait_for_ci prematurely triggers. | ||
# See https://github.com/python-trio/trio/issues/2689 | ||
codecov: | ||
notify: | ||
# This number needs to be changed whenever the number of runs in CI is changed. | ||
# Another option is codecov-cli: https://github.com/codecov/codecov-cli#send-notifications | ||
after_n_builds: 27 | ||
wait_for_ci: false | ||
notify_error: true # if uploads fail, replace cov comment with a comment with errors. | ||
require_ci_to_pass: false | ||
|
||
# Publicly exposing the token has some small risks from mistakes or malicious actors. | ||
# See https://docs.codecov.com/docs/codecov-tokens for correctly configuring it. | ||
token: 87cefb17-c44b-4f2f-8b30-1fff5769ce46 | ||
|
||
# only post PR comment if coverage changes | ||
comment: | ||
require_changes: true | ||
|
||
coverage: | ||
# required range | ||
range: 99.6..100 | ||
status: | ||
# require patches to be 100% | ||
patch: | ||
default: | ||
target: 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters