File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,18 @@ jobs:
18
18
- name : Test
19
19
run : dotnet test --collect:"XPlat Code Coverage" --results-directory coverage
20
20
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'
28
33
29
34
- name : Write to Job Summary
30
- run : cat code-coverage-results .md >> $GITHUB_STEP_SUMMARY
35
+ run : cat report/SummaryGithub .md >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments