We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b572b commit 3f8167cCopy full SHA for 3f8167c
.github/workflows/test.yml
@@ -50,6 +50,7 @@ jobs:
50
- name: check test coverage
51
id: coverage
52
uses: vladopajic/go-test-coverage@v2
53
+ continue-on-error: true # Should fail after coverage comment is posted
54
with:
55
config: ./.github/.testcoverage.yml
56
profile: cover.ubuntu-latest.profile,cover.macos-latest.profile
@@ -88,4 +89,9 @@ jobs:
88
89
```
90
${{ fromJSON(steps.coverage.outputs.report) }}
91
- edit-mode: replace
92
+ edit-mode: replace
93
+
94
+ - name: "finally check coverage"
95
+ if: steps.coverage.outcome == 'failure'
96
+ shell: bash
97
+ run: echo "coverage check failed" && exit 1
0 commit comments