From fb39dbdc325789fc652bc39972edf96f93661080 Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Wed, 1 May 2024 18:20:33 -0500 Subject: [PATCH] Upload coverage report as job artifact --- .github/workflows/checks.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index e6a0412..666eb1b 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -91,3 +91,10 @@ jobs: run: | pip install pytest # ensure pytest is installed (should do nothing if already present from requirements-dev.txt) pytest --pyargs parameter_sweep + - name: Upload coverage report as job artifact + if: matrix.coverage + uses: actions/upload-artifact@v4 + with: + name: coverage-report-${{ matrix.os }} + path: coverage.xml + if-no-files-found: error