-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update codecov coverage config file (#672)
- Properly set threshold. - Try to avoid running extra test and upload - Set thresholds to 1%. - Set patch threshold to 5%. - Use project flag only, disable "default" - Rename the status of the project flag to optimade. - Set fetch-depth to 2 for pytest job
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 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 |
---|---|---|
@@ -1,14 +1,25 @@ | ||
codecov: | ||
notify: | ||
require_ci_to_pass: yes | ||
wait_for_ci: yes | ||
require_ci_to_pass: yes | ||
|
||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "70...100" | ||
|
||
status: | ||
project: yes | ||
patch: yes | ||
changes: no | ||
threshold: 1 | ||
project: | ||
default: off | ||
optimade: | ||
threshold: 1% | ||
flags: | ||
- project | ||
validator: | ||
threshold: 1% | ||
flags: | ||
- validator | ||
patch: | ||
default: | ||
threshold: 5% | ||
changes: off |
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