Skip to content

Commit 7c26ba9

Browse files
committed
ci: Coverage gate? 👷
1 parent 0e32a2c commit 7c26ba9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎.github/workflows/ci.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ jobs:
3535
echo "COVERAGE=${COVERAGE}" >> $GITHUB_ENV
3636
3737
- name: Check coverage tolerance
38-
if: ${{ env.COVERAGE < 80 }}
39-
uses: actions/github-script@v3
40-
with:
41-
script: |
42-
core.setFailed('Coverage test below tolerance')
38+
if: ${{ env.COVERAGE < 84 }}
39+
run: |
40+
echo "Coverage test below tolerance of 84%"
41+
exit 1
4342
4443
- name: Update coverage badge
4544
uses: cybercinch/dynamic-badges-action@master

0 commit comments

Comments
 (0)