Skip to content

Commit

Permalink
test: fix goveralls install issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Mar 27, 2024
1 parent 66f9d47 commit d82aa99
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:

- name: Test
run: go test -covermode=count -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 d82aa99

Please sign in to comment.