Skip to content

Commit

Permalink
Merge pull request #1698 from kubernetes-sigs/fix-goveralls
Browse files Browse the repository at this point in the history
test: fix goveralls
  • Loading branch information
andyzhangx committed Feb 15, 2024
2 parents e294df5 + ef519fd commit dcbfb8b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ jobs:
make
- name: Unit Test
run: go test -covermode=count -coverprofile=profile.cov ./pkg/...
run: go test -race -covermode=atomic -coverprofile=profile.cov ./pkg/...

- 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

0 comments on commit dcbfb8b

Please sign in to comment.