From 966685607b25da0edda5bf752d11e45f22f70766 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Tue, 30 Apr 2024 14:22:03 +0300 Subject: [PATCH] Re-enable codecov but use a GHA to submit the results because the bash upload has been deprecated --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a75ba907b..9d900e09d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,10 +35,10 @@ jobs: - name: Run unit tests run: go test -race -covermode=atomic -coverprofile=coverage.txt -coverpkg=$(go list ./... | grep -v rpmmd/test$ | tr "\n" ",") ./... - # disabled as 'pinging codecov' hangs - # see https://github.com/codecov/feedback/issues/354 - # - name: Send coverage to codecov.io - # run: bash <(curl -s https://codecov.io/bash) + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: false + verbose: true db-tests: name: "🗄 DB tests"