Skip to content

Commit 5a42972

Browse files
committed
few changes made to workflow
1 parent bd0d30a commit 5a42972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/checks.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ jobs:
3737
go-version-file: go.mod
3838
- name: Go test
3939
run: |
40-
go test -v -race -coverprofile="coverage.out" ./...
40+
go test -v -race -coverprofile="coverage.out" ./... -coverpkg=./...
4141
- name: Upload coverage report
4242
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
4343
with:
4444
path: coverage.out
4545
name: coverage-report-${{matrix.target}}
4646
- name: Display coverage report # displayed only for linux and macOS
4747
if: ${{runner.os != 'Windows'}}
48-
run: go tool cover -func=coverage.out
48+
run: go tool cover -func=coverage.out | grep -v .rl
4949
- name: Build go
5050
run: go build ./...
5151

0 commit comments

Comments
 (0)