Skip to content

Commit

Permalink
ci: removing codecov support (I've had it!)
Browse files Browse the repository at this point in the history
Codecov sucks!
  • Loading branch information
meling committed Dec 17, 2024
1 parent f66e4ba commit 2b3e0b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
6 changes: 0 additions & 6 deletions .github/codecov.yml

This file was deleted.

20 changes: 1 addition & 19 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 2b3e0b2

Please sign in to comment.