mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 20:19:26 +00:00
format coverage badge message to two decimal places
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user