Skip to content

Commit

Permalink
Merge pull request #891 from martin-schulze-vireso/fix/coverage_check
Browse files Browse the repository at this point in the history
Fix coverage check
  • Loading branch information
martin-schulze-vireso committed Mar 25, 2024
2 parents 3c0e145 + 386acdc commit 12c23ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
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 12c23ed

Please sign in to comment.