Fix coverage reporting from GitHub workflow

This commit is contained in:
Christian Muehlhaeuser 2020-10-19 06:15:02 +02:00
parent 477979bce9
commit e63aa950d4

View file

@ -16,7 +16,7 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Download Go modules
run: go mod download
@ -34,4 +34,4 @@ jobs:
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.15.x' && matrix.platform == 'ubuntu-latest'
if: matrix.go-version == '1.15.x' && matrix.os == 'ubuntu-latest'