From b5d3625cd343a79b951ac8cad269ae85f0dab898 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Fri, 7 Jun 2024 09:48:44 +0200 Subject: [PATCH] separate coverage zip step --- .github/workflows/coverage.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 36fdcc61e..311cb7b73 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -51,9 +51,12 @@ jobs: mkdir html cov=$(~/.local/bin/gcovr -r . --html-details html/index.html --json-summary | jq .line_percent) echo "Coverage: ${cov}% (min $min_cov%)" - zip -r coverage.zip html exit $(echo "$cov < $min_cov" | bc -l) + - name: coverage zip + run: | + zip -r coverage.zip html + - uses: actions/upload-artifact@v4 with: name: coverage