From 7163307d2f55a39ca9725284b05f8e19ddc610c6 Mon Sep 17 00:00:00 2001 From: reiniscirpons Date: Wed, 1 May 2024 17:04:19 +0100 Subject: [PATCH] Fix code coverage action --- .github/workflows/runtests.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 38b176ba8..21161c6df 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -147,7 +147,15 @@ jobs: sudo ln -sf /usr/bin/gcov-9 /usr/bin/gcov export GCOV=/usr/bin/gcov-9 etc/test-code-coverage.sh test_all "[quick]" - bash <(curl -s https://codecov.io/bash) + - name: "Uploading to Codecov . . ." + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + directory: ./coverage/ + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + - name: "Cleanup . . ." + run: | rm -f coverage.info distcheck: timeout-minutes: 15