We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c140ce + 7345b6d commit c829697Copy full SHA for c829697
.github/workflows/checks.yml
@@ -37,7 +37,15 @@ jobs:
37
go-version-file: go.mod
38
- name: Go test
39
run: |
40
- go test ./... -race
+ go test -v -race -coverprofile="coverage.out" ./...
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
49
50
copyright:
51
name: "copyright headers"
0 commit comments