From b3d5cab45cf1c3aef03f7d91f5c448872dd34ca2 Mon Sep 17 00:00:00 2001 From: Luis Barroso-Luque Date: Thu, 28 Sep 2023 12:42:25 -0700 Subject: [PATCH] DEV: upload coverage artifact --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 30c6cd3..2a05218 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,9 +45,9 @@ jobs: run: | pytest tests --cov=sparselm --cov-report=xml - - if: ${{ matrix.python_version == 3.11 && github.event_name == 'push' }} - name: codacy-coverage-reporter - uses: codacy/codacy-coverage-reporter-action@v1 + - if: matrix.python_version == '3.11' + name: upload coverage report + uses: actions/upload-artifact@v3 with: - project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} - coverage-reports: coverage.xml + name: coverage + path: coverage.xml