Skip to content

Commit

Permalink
uploading coverage with different names
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbuckley committed Nov 8, 2024
1 parent e144093 commit 71f4c96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 71f4c96

Please sign in to comment.