diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 038d06a8c..f4fc2c550 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -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