From 2b3e0b20ebc42e42248f5d9096fb75635001fdaa Mon Sep 17 00:00:00 2001 From: Hein Meling Date: Wed, 18 Dec 2024 00:33:19 +0100 Subject: [PATCH] ci: removing codecov support (I've had it!) Codecov sucks! --- .github/codecov.yml | 6 ------ .github/workflows/go-test.yml | 20 +------------------- 2 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 .github/codecov.yml diff --git a/.github/codecov.yml b/.github/codecov.yml deleted file mode 100644 index 7e6c6e20..00000000 --- a/.github/codecov.yml +++ /dev/null @@ -1,6 +0,0 @@ -coverage: - status: - project: - default: - target: auto - threshold: 1% diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index d738da55..1aead8f1 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -38,12 +38,7 @@ jobs: - name: Run Go tests run: | - if [ "$RUNNER_OS" == "Linux" ]; then - go test -v -timeout 5m -coverpkg=./... -coverprofile=coverage.tmp.txt -covermode=atomic ./... - grep -v -E ".pb.go|_mock.go" coverage.tmp.txt > coverage.txt - else - go test -v -timeout 2m ./... - fi + go test -v -timeout 2m ./... shell: bash env: HOTSTUFF_LOG: info @@ -53,16 +48,3 @@ jobs: run: | cd scripts bash deploy_test.sh - - - name: Upload code coverage report to Codecov - if: runner.os == 'Linux' - uses: codecov/codecov-action@v5 - with: - files: ./coverage.txt - flags: unittests - name: codecov-umbrella - fail_ci_if_error: true - verbose: true - gcov_ignore: | - internal/proto - metrics/types