Skip to content

Commit b87eac2

Browse files
committed
chore: update test workflow
1 parent b59f85c commit b87eac2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ jobs:
1717
uses: actions/checkout@v3
1818
- name: Run tests
1919
run: ./_tools/go-inline *.go && go fmt . && go test -v ./... -covermode=count -coverprofile=coverage.out -coverpkg=$(go list ./... | sed 's/\n/,/g')
20+
- name: Install goveralls
21+
if: "matrix.platform == 'ubuntu-latest'"
22+
run: go install github.com/mattn/goveralls@latest
2023
- name: Send coverage
2124
if: "matrix.platform == 'ubuntu-latest'"
2225
env:
2326
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2427
run: |
25-
GO111MODULE=off go get github.com/mattn/goveralls
26-
./_tools/go-inline *.go && go fmt .
2728
$(go env GOPATH)/bin/goveralls -coverprofile=coverage.out -service=github

0 commit comments

Comments
 (0)