We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b59f85c commit b87eac2Copy full SHA for b87eac2
.github/workflows/test.yaml
@@ -17,11 +17,12 @@ jobs:
17
uses: actions/checkout@v3
18
- name: Run tests
19
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
23
- name: Send coverage
24
if: "matrix.platform == 'ubuntu-latest'"
25
env:
26
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
run: |
- GO111MODULE=off go get github.com/mattn/goveralls
- ./_tools/go-inline *.go && go fmt .
28
$(go env GOPATH)/bin/goveralls -coverprofile=coverage.out -service=github
0 commit comments