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 May 17, 2024
1 parent 5b9966e commit 032036c
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 032036c

Please sign in to comment.