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:
Christian Kellner 2020-12-04 18:31:32 +01:00
parent b603641a99
commit e85d340cd8
2 changed files with 12 additions and 0 deletions

View file

@ -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"