Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fraxy-v authored Sep 1, 2024
1 parent ac0345b commit 8876abd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ jobs:
id: check-coverage
uses: actions/github-script@v7
with:
result-encoding: string
script: |
const check = require('./scripts/check-coverage.js');
return await check('${{steps.get-modified-source.outputs.result}}', 'coverage.xml');
- name: Return coverage result
if: ${{steps.check-coverage.outputs.result == false}}
run: exit(1)
run: |
echo '${{steps.check-coverage.outputs.result}}'
exit(1)

0 comments on commit 8876abd

Please sign in to comment.