Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Piasy committed Jan 11, 2025
1 parent eebe387 commit 53bd61d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test_and_run_demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ jobs:
id: jacoco
uses: madrapps/[email protected]
with:
paths: |
${GITHUB_WORKSPACE}/kmp-socketio/build/reports/kover/report.xml
paths: ${{ github.workspace }}/kmp-socketio/build/reports/kover/report.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 80
min-coverage-changed-files: 80
pass-emoji: ":white_check_mark:"
fail-emoji: ":negative_squared_cross_mark:"
- name: Coverage check
if: ${{ steps.jacoco.outputs.coverage-overall < 80.0 }} || ${{ steps.jacoco.outputs.coverage-changed-files < 80.0 }}
uses: actions/github-script@v7
with:
script: |
core.setFailed("Coverage check failed! overall ${{ steps.jacoco.outputs.coverage-overall }}, diff ${{ steps.jacoco.outputs.coverage-changed-files }}")

0 comments on commit 53bd61d

Please sign in to comment.