Skip to content

Commit

Permalink
Run coverage test only on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Dec 31, 2019
1 parent 488196f commit 0b842f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -race -covermode atomic -coverprofile=profile.cov ./...
run: go test ./...

- name: Coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go test -race -covermode atomic -coverprofile=profile.cov ./...
GO111MODULE=off go get github.com/mattn/goveralls
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
if: matrix.go-version == '1.13.x' && matrix.platform == 'ubuntu-latest'

0 comments on commit 0b842f4

Please sign in to comment.