From a0a15941f5c93c6b058e595625932c7b59f06fc0 Mon Sep 17 00:00:00 2001 From: Stijn de Boer Date: Fri, 8 Dec 2023 13:46:54 +0100 Subject: [PATCH] Reinstall upload XML coverage report --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index facfa4a3..66f16af3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: - name: Run Tests with coverage and save report run: | coverage run -m pytest pytest/ --junitxml=report.xml --html=report.html + coverage xml -o coverage.xml continue-on-error: true # Continue to the next step even if tests fail - name: Upload HTML Report @@ -44,4 +45,9 @@ jobs: with: name: test-report-xml path: report.xml - \ No newline at end of file + + - name: Upload Coverage Report + uses: actions/upload-artifact@v2 + with: + name: coverage-report + path: coverage.xml \ No newline at end of file