ci: send coverage data to codecov
Integrate with codecov. Define a threshold of 5% to pass. Coverage is cumulative, i.e. all the tests send their coverage to codecov, which will integrate them all into a total.
This commit is contained in:
parent
b603641a99
commit
e85d340cd8
2 changed files with 12 additions and 0 deletions
3
.github/workflows/tests.yml
vendored
3
.github/workflows/tests.yml
vendored
|
|
@ -27,7 +27,10 @@ jobs:
|
|||
python3 -m pytest \
|
||||
--pyargs "${{ matrix.test }}" \
|
||||
--rootdir=. \
|
||||
--cov-report=xml --cov=osbuild \
|
||||
-v
|
||||
- name: Send coverage to codecov.io
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
documentation:
|
||||
name: "📚 Documentation"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue