mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 08:00:00 +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: |
|
run: |
|
||||||
jq '{schemaVersion: 1,
|
jq '{schemaVersion: 1,
|
||||||
label: "tarpaulin",
|
label: "tarpaulin",
|
||||||
message: (.coverage | tostring),
|
message: (printf("%.2f"; .coverage)),
|
||||||
color: "blue"}' tarpaulin-report.json > tarpaulin-badge.json
|
color: "blue"}' tarpaulin-report.json > tarpaulin-badge.json
|
||||||
|
|
||||||
- name: Copy files to output directory
|
- name: Copy files to output directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user