File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 29
29
- name : Build
30
30
run : dotnet build --no-restore -c Release -v n
31
31
- name : Test
32
- run : dotnet test -c Release --no-build -v n /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --filter="Category=Unit"
32
+ run : |
33
+ dotnet test -c Release --no-build -v n /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --filter="Category=Unit"
34
+ mkdir coverage-report
33
35
- name : Code Coverage Summary Report For Merge Request
34
36
if : github.event_name == 'pull_request'
35
37
uses : 5monkeys/cobertura-action@master
54
56
hide_branch_rate : true
55
57
hide_complexity : true
56
58
thresholds : ' 80 100'
57
-
59
+ - name : ReportGenerator
60
+ uses : danielpalme/ReportGenerator-GitHub-Action@5.1.10
61
+ with :
62
+ reports : ' ./Interpreter.Tests/coverage.cobertura.xml'
63
+ targetdir : ' ./coverage-report'
64
+ - name : Upload coverage report artifact
65
+ if : github.event_name == 'push'
66
+ uses : actions/upload-artifact@v2.2.3
67
+ with :
68
+ name : CoverageReport
69
+ path : coverage-report
You can’t perform that action at this time.
0 commit comments