From 71f4c96ce0a95df52b3bab7c47f376e34a373820 Mon Sep 17 00:00:00 2001 From: Eric Buckley Date: Fri, 8 Nov 2024 15:46:37 -0800 Subject: [PATCH] uploading coverage with different names --- .github/workflows/check_unit_tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_unit_tests.yml b/.github/workflows/check_unit_tests.yml index 7c8c417f..22d1292b 100644 --- a/.github/workflows/check_unit_tests.yml +++ b/.github/workflows/check_unit_tests.yml @@ -80,13 +80,13 @@ jobs: fi pytest --cov=recordlinker tests/unit + mv .coverage coverage-${{ matrix.database }}.dat - name: Upload coverage artifact uses: actions/upload-artifact@v4 with: name: coverage-${{ matrix.database }} - path: .coverage # Save the coverage data file as an artifact for each database - include-hidden-files: true + path: coverage-${{ matrix.database }}.dat # Save the coverage data file as an artifact for each database coverage: runs-on: ubuntu-latest @@ -105,7 +105,7 @@ jobs: ls -l coverage_artifacts pip install coverage cd coverage_artifacts - coverage combine coverage-* + coverage combine coverage-*.dat coverage xml -o combined_coverage.xml - name: Upload combined coverage to Codecov