mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
format coverage badge message to two decimal places
This commit is contained in:
parent
41f404b840
commit
3dd7a65726
2
.github/workflows/docs-and-testcov.yml
vendored
2
.github/workflows/docs-and-testcov.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
run: |
|
||||
jq '{schemaVersion: 1,
|
||||
label: "tarpaulin",
|
||||
message: (.coverage | tostring),
|
||||
message: (printf("%.2f"; .coverage)),
|
||||
color: "blue"}' tarpaulin-report.json > tarpaulin-badge.json
|
||||
|
||||
- name: Copy files to output directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user