From 15bc3111abc5af52c96faecd27c8496a48af6bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominika=20D=C5=82ugosz?= Date: Mon, 22 Apr 2024 11:18:46 +0200 Subject: [PATCH] Test using local variable --- .github/workflows/TestCoverage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/TestCoverage.yml b/.github/workflows/TestCoverage.yml index 6695105..8c1755b 100644 --- a/.github/workflows/TestCoverage.yml +++ b/.github/workflows/TestCoverage.yml @@ -31,14 +31,14 @@ jobs: echo "P_COV=35" >> "$GITHUB_OUTPUT" - name: Create badge env: - P_COV: ${{ steps.check-coverage.outputs.P_COV }} + P_COV: 48 uses: schneegans/dynamic-badges-action@v1.7.0 with: auth: ${{ secrets.TEST_COVERAGE_GIST }} gistID: 8ec74eae558f3a7793622f6469064b73 filename: test_coverage_badge.json label: Test coverage - message: ${{ steps.check-coverage.outputs.P_COV }} - valColorRange: ${{ steps.check-coverage.outputs.P_COV }} + message: "coverage is $P_COV per cent" + valColorRange: $P_COV maxColorRange: 100 minColorRange: 0