ci: use pytest and generate coverage data

Instead of the standard unit tests module use pytest and generate
coverage data in XML form, later to be used with another service.
This commit is contained in:
Christian Kellner 2020-09-14 17:00:13 +02:00
parent ed4e8795e5
commit edb05b1683

View file

@ -25,4 +25,4 @@ jobs:
uses: osbuild/koji-osbuild/test@master
with:
run: |
python3 -m unittest discover -v test/unit/
pytest --cov-report=xml --cov=osbuild test/unit/