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 foldersmain
parent
cfbe0b48ac
commit
87bdcb4127
@ -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
|
||||
|
Loading…
Reference in New Issue