We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a49296b commit f8e7d76Copy full SHA for f8e7d76
.github/workflows/tests.yml
@@ -31,6 +31,30 @@ jobs:
31
- name: Run checks
32
run: make get-deps check
33
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
+ uses: irongut/[email protected]
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
55
+ recreate: true
56
+ path: code-coverage-results.md
57
58
test:
59
name: Docker tests
60
runs-on: ubuntu-latest
0 commit comments