Skip to content

Commit

Permalink
coverage testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin CO committed Mar 5, 2025
1 parent a2761cc commit 8182766
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/run_tests_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage${{ matrix.shard }}
path: |
coverage.xml
.coverage
path: .coverage
if-no-files-found: error
include-hidden-files: true

Expand Down Expand Up @@ -105,6 +103,8 @@ jobs:
- name: Download all workflow run artifacts
id: download
uses: actions/download-artifact@v4
with:
pattern: coverage-*

- name: Rename coverage files
run: |
Expand All @@ -127,11 +127,9 @@ jobs:
coverage xml
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v5
with:
file: ./coverage.xml
flags: unittests
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 8182766

Please sign in to comment.