Skip to content

Commit

Permalink
test: fix goveralls
Browse files Browse the repository at this point in the history
fix

fix

fix

fix
  • Loading branch information
andyzhangx committed Feb 15, 2024
1 parent bf0e075 commit 5887881
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 @@ -27,7 +27,7 @@ jobs:
- name: Build Test
run: |
export PATH=$PATH:$HOME/.local/bin
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: Sanity test
Expand All @@ -39,9 +39,10 @@ jobs:
echo "is running in github actions: $GITHUB_ACTIONS"
make sanity-test
- 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 5887881

Please sign in to comment.