File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 3131 - name : Run checks
3232 run : make get-deps check
3333
34+ - name : Convert go coverage to corbetura format
35+ run : |
36+ go install github.com/boumenot/gocover-cobertura@latest
37+ gocover-cobertura < test/coverage.out > test/coverage.xml
38+
39+ - name : Generate code coverage report
40+ 41+ with :
42+ filename : test/coverage.xml
43+ badge : false
44+ fail_below_min : false
45+ format : markdown
46+ hide_branch_rate : false
47+ hide_complexity : true
48+ indicators : true
49+ output : both
50+ thresholds : ' 60 80'
51+
52+ - name : Add Coverage PR Comment
53+ uses : marocchino/sticky-pull-request-comment@v2
54+ with :
55+ recreate : true
56+ path : code-coverage-results.md
57+
3458 test :
3559 name : Docker tests
3660 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments