Skip to content

Commit

Permalink
ci: add coverage generation task
Browse files Browse the repository at this point in the history
  • Loading branch information
WangYihang committed Apr 26, 2024
1 parent c2946a1 commit 636e35a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Test
run: go test -v ./...

- name: Run coverage
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...

-
name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit 636e35a

Please sign in to comment.