Skip to content

Commit

Permalink
ci: fix coverage for multi unit test projects
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeFwd committed Oct 12, 2024
1 parent 63657d9 commit 345bbcf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ jobs:
- name: Run unit tests with coverage
run: |
dotnet test --collect:"XPlat Code Coverage" --results-directory ./coverage
mv ./coverage/*/coverage.cobertura.xml ./coverage/coverage.cobertura.xml
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ./coverage/coverage.cobertura.xml
files: ./coverage/*/coverage.cobertura.xml
fail_ci_if_error: true

0 comments on commit 345bbcf

Please sign in to comment.