test: fix goveralls
This commit is contained in:
parent
61cd2844b3
commit
76031e728e
9
.github/workflows/linux.yaml
vendored
9
.github/workflows/linux.yaml
vendored
@ -24,12 +24,13 @@ jobs:
|
||||
go version
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
make verify
|
||||
go test -covermode=count -coverprofile=profile.cov ./pkg/...
|
||||
go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/...
|
||||
export DOCKER_CLI_EXPERIMENTAL=enabled && make container
|
||||
|
||||
- name: Install goveralls
|
||||
run: go install github.com/mattn/goveralls@latest
|
||||
|
||||
- name: Send coverage
|
||||
env:
|
||||
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
GO111MODULE=off go get github.com/mattn/goveralls
|
||||
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
|
||||
run: goveralls -coverprofile=profile.cov -service=github
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user