We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd0d30a commit 5a42972Copy full SHA for 5a42972
.github/workflows/checks.yml
@@ -37,15 +37,15 @@ jobs:
37
go-version-file: go.mod
38
- name: Go test
39
run: |
40
- go test -v -race -coverprofile="coverage.out" ./...
+ go test -v -race -coverprofile="coverage.out" ./... -coverpkg=./...
41
- name: Upload coverage report
42
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
43
with:
44
path: coverage.out
45
name: coverage-report-${{matrix.target}}
46
- name: Display coverage report # displayed only for linux and macOS
47
if: ${{runner.os != 'Windows'}}
48
- run: go tool cover -func=coverage.out
+ run: go tool cover -func=coverage.out | grep -v .rl
49
- name: Build go
50
run: go build ./...
51
0 commit comments