Re-enable codecov but use a GHA to submit the results

because the bash upload has been deprecated
This commit is contained in:
Alexander Todorov 2024-04-30 14:22:03 +03:00 committed by Alexander Todorov
parent c886d6c1f5
commit 966685607b

View file

@ -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"