Skip to content

Commit

Permalink
Try add Code Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-dmxc authored Feb 22, 2024
1 parent e1bf3f6 commit 9d94979
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ jobs:
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Code Coverage Summary Report
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: coverage.cobertura.xml


- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.1
with:
Expand Down

0 comments on commit 9d94979

Please sign in to comment.