summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-05-12 15:53:31 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-05-12 15:53:31 -0400
commita9ecd8a80879e9008cf323f7bb6d0308f3b7def9 (patch)
treeb1e6d83587c8a4b08ddf0a1e47e8e6ba7b543e60
parent3e6ff4ff21b981a4e7aa79b02a0b80dc6ae54f06 (diff)
downloadpython-coveragepy-git-a9ecd8a80879e9008cf323f7bb6d0308f3b7def9.tar.gz
build: add markdown summary to the action
-rw-r--r--.github/workflows/coverage.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 6749622f..d7d5f8a5 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -214,3 +214,8 @@ jobs:
label: Coverage
message: ${{ env.total }}%
color: ${{ env.badge_color }}
+
+ - name: "Create summary"
+ run: |
+ echo '### Total coverage: ${{ env.total }}%' >> $GITHUB_STEP_SUMMARY
+ echo '[${{ env.url }}](${{ env.url }})' >> $GITHUB_STEP_SUMMARY