Skip to content

Commit 110879c

Browse files
committed
Update
1 parent 582e7f1 commit 110879c

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/coverage.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,18 @@ jobs:
1818
- name: Test
1919
run: dotnet test --collect:"XPlat Code Coverage" --results-directory coverage
2020

21-
- name: Code Coverage Summary Report
22-
uses: irongut/CodeCoverageSummary@v1.3.0
23-
with:
24-
filename: 'coverage/*/coverage.cobertura.xml'
25-
badge: true
26-
format: 'markdown'
27-
output: 'both'
21+
# - name: Code Coverage Summary Report
22+
# uses: irongut/CodeCoverageSummary@v1.3.0
23+
# with:
24+
# filename: 'coverage/*/coverage.cobertura.xml'
25+
# badge: true
26+
# format: 'markdown'
27+
# output: 'both'
28+
29+
- name: Create code coverage report
30+
run: |
31+
dotnet tool install -g dotnet-reportgenerator-globaltool
32+
reportgenerator -reports:coverage/*/coverage.cobertura.xml -targetdir:report -reporttypes:'MarkdownSummaryGithub'
2833
2934
- name: Write to Job Summary
30-
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
35+
run: cat report/SummaryGithub.md >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)