Skip to content

Commit 3d9cd01

Browse files
committed
ci: update coverage step in GitHub Actions workflow
1 parent 9737e30 commit 3d9cd01

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/go.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ jobs:
2525
- name: Test
2626
run: go test -v -coverprofile=coverage.out -covermode=atomic ./...
2727

28-
- name: Upload coverage to Codecov
28+
- name: Coverage
29+
run: go test -coverprofile=coverage.txt
30+
31+
- name: Upload coverage reports to Codecov
2932
uses: codecov/codecov-action@v5
3033
with:
31-
files: coverage.out
32-
fail_ci_if_error: false
34+
token: ${{ secrets.CODECOV_TOKEN }}
3335

3436
integration:
3537
name: Integration Tests

0 commit comments

Comments
 (0)