Skip to content

Commit

Permalink
upload coverage for linux/macos.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Jan 6, 2024
1 parent a6c39c0 commit 8bd3ae5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
-
name: Tests
run: |
go mod tidy
go get github.com/axw/gocov/gocov
go get github.com/AlekSi/gocov-xml
go install github.com/axw/gocov/gocov
go install github.com/AlekSi/gocov-xml
go mod tidy
go test -cover -v -failfast -p 1 $(go list ./...) -coverprofile cover.out
gocov convert cover.out | gocov-xml > coverage.xml
if: runner.os != 'Windows'
Expand Down

0 comments on commit 8bd3ae5

Please sign in to comment.