From 2ab6975d10bdaec7f7eb43304acdb64bf7b4f124 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 27 Dec 2021 21:50:45 -0500 Subject: coverage badge --- .github/workflows/coverage.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8ab96b8e..ed6f75e6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -192,3 +192,13 @@ jobs: - name: "Show link to report" run: | echo "Coverage report: ${{ steps.info.outputs.url }}" + + - name: "Create badge" + uses: schneegans/dynamic-badges-action@v1.1.0 + with: + auth: ${{ secrets.METACOV_GIST_SECRET }} + gistID: 8c6980f77988a327348f9b02bbaf67f5 + filename: metacov.json + label: Coverage + message: ${{ steps.combine.outputs.total }}% + color: green -- cgit v1.2.1