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
|
go version
|
||||||
export PATH=$PATH:$HOME/.local/bin
|
export PATH=$PATH:$HOME/.local/bin
|
||||||
make verify
|
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
|
export DOCKER_CLI_EXPERIMENTAL=enabled && make container
|
||||||
|
|
||||||
|
- name: Install goveralls
|
||||||
|
run: go install github.com/mattn/goveralls@latest
|
||||||
|
|
||||||
- name: Send coverage
|
- name: Send coverage
|
||||||
env:
|
env:
|
||||||
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: goveralls -coverprofile=profile.cov -service=github
|
||||||
GO111MODULE=off go get github.com/mattn/goveralls
|
|
||||||
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user