Skip to content

Commit

Permalink
CI: Fix coverage check
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed Mar 24, 2024
1 parent 3c0e145 commit 386acdc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,12 @@ jobs:
id: coverage-percent
shell: bash
env:
minimum_coverage: 86.39
minimum_coverage: 86.40
run: |
value=$(jq '.percent_covered' <coverage/bats/coverage.json)
fixd_point() { # <float val>
int=${value%.*}
decimals=${value#*.}
fixed_point() { # <float val>
int=${1%.*}
decimals=${1#*.}
echo $int${decimals::2}
}
echo "Coverage: $value%" | tee "$GITHUB_STEP_SUMMARY"
Expand Down

0 comments on commit 386acdc

Please sign in to comment.