Skip to content

Commit

Permalink
Add coverage.out
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerhardt committed Jul 23, 2024
1 parent 38dbf08 commit 362fc2e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ jobs:
- name: Run golangci-lint
run: golangci-lint run

- name: Run tests
run: go test -v ./...
- name: Run tests and generate coverage report
run: |
go test -coverprofile=coverage.out ./...
go tool cover -func=coverage.out
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit 362fc2e

Please sign in to comment.