From edb05b168351b8d05d6192e8546d605e9a84d68f Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 14 Sep 2020 17:00:13 +0200 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8e29be1..abd4830 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/