-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(testing): codecov reports (#2094)
* fix(testing): fix codecov.yml * fix(testing): make code coverage procedure for main and PRs identical * fix(testing): make codecov ignore the right folders
- Loading branch information
Showing
3 changed files
with
25 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
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
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,8 +1,25 @@ | ||
codecov: | ||
branch: main | ||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "60..100" | ||
|
||
# we don't care about the coverage of files in these folders | ||
ignore: | ||
- "xmpsdk" # Not interested about the coverage of XMKSDK | ||
- "xmpsdk" | ||
- "unitTests" | ||
- "samples" | ||
|
||
status: | ||
project: | ||
default: | ||
threshold: 1 # decrease by up to 1% doesn't result in failure | ||
branches: | ||
- main | ||
|
||
# check only the diff of the PR | ||
patch: | ||
default: | ||
threshold: 1 | ||
branches: | ||
- main | ||
only_pulls: true |