Skip to content

Commit e16173b

Browse files
committed
two digit precision for the mutation score badge
1 parent 79bc0c5 commit e16173b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ jobs:
655655
path: cosmic-ray.html
656656
- name: Get mutation score
657657
run: |
658-
echo "print(100-$(cr-rate session.sqlite))" > print-score.py
658+
echo "print('{0:.2f}'.format(100-$(cr-rate session.sqlite)))" > print-score.py
659659
echo "MUT_SCORE=$(python print-score.py)" >> $GITHUB_ENV
660660
- name: Create mutation score badge
661661
if: ${{ !github.event.pull_request }}

0 commit comments

Comments
 (0)