Skip to content

Commit eafb38a

Browse files
committed
use codecov in workflow for test coverage
1 parent a520f9b commit eafb38a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,10 @@ jobs:
6868
cache: false
6969
- name: Run Unit Tests
7070
run: make unit-test
71-
- name: Check Coverage
72-
uses: vladopajic/go-test-coverage@dd4b1f21c4e48db0425e1187d2845404b1206919
71+
- name: Upload Test Coverage
72+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
7373
with:
74-
config: ./.testcoverage.yaml
75-
## when token is not specified (value '') this feature is turned off
76-
git-token: ${{ github.ref_name == 'main' && secrets.GITHUB_TOKEN || '' }}
77-
## name of orphaned branch where badges are stored
78-
git-branch: badges
74+
files: ./build/test/coverage.out
7975

8076
race-condition-test:
8177
name: Unit tests with race condition detection

0 commit comments

Comments
 (0)