summaryrefslogtreecommitdiff
path: root/.github/workflows/coverage.yml
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-03-02 08:16:47 -0500
committerNed Batchelder <ned@nedbatchelder.com>2021-03-02 08:44:00 -0500
commitc4fc383351c8a683e85953785d1365c9e5e791b7 (patch)
tree5714a6d09504ddbde8ed093890f368ed9e89163e /.github/workflows/coverage.yml
parent406d045a61bd2328b54b74aee50098f8e98a6dfc (diff)
downloadpython-coveragepy-git-c4fc383351c8a683e85953785d1365c9e5e791b7.tar.gz
feat: percent_covered_display in the JSON reportnedbat/tweak-metacov
Diffstat (limited to '.github/workflows/coverage.yml')
-rw-r--r--.github/workflows/coverage.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 3cd01330..f0ae3422 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -129,7 +129,7 @@ jobs:
set -xe
python -m igor combine_html
python -m coverage json
- echo "::set-output name=total::$(python -c "import json;print(format(json.load(open('coverage.json'))['totals']['percent_covered'],'.2f'))")"
+ echo "::set-output name=total::$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")"
- name: "Upload to codecov"
uses: codecov/codecov-action@v1