From b2278f12e52f9445b1b10412391830e894103576 Mon Sep 17 00:00:00 2001 From: alexander-gesinn Date: Mon, 16 Dec 2024 14:50:13 +0100 Subject: [PATCH] chore (ci): create coverage report for Codecov --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57f9665..1127b41 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,5 +75,8 @@ jobs: - name: Run tests continue-on-error: ${{ matrix.experimental }} - run: pytest --ckan-ini=test.ini --cov=ckanext.feature_image --disable-warnings ckanext/feature_image --junit-xml=/tmp/artifacts/junit/results.xml + run: pytest --ckan-ini=test.ini --cov=ckanext.feature_image \ + --disable-warnings ckanext/feature_image \ + --cov-report xml:/tmp/artifacts/coverage/coverage.xml \ + --junit-xml=/tmp/artifacts/junit/results.xml