We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33f9713 commit 62fe5cfCopy full SHA for 62fe5cf
.github/workflows/go.yml
@@ -28,15 +28,16 @@ jobs:
28
run: go get .
29
30
- name: Test with Go
31
- run: go test -json ./... > TestResults-${{ matrix.go-version }}.json
+ run: go test -v -coverprofile=coverage-${{ matrix.go-version }}.txt -covermode=atomic ./... > TestResults-${{ matrix.go-version }}.json
32
33
- name: Upload Go test results
34
uses: actions/upload-artifact@v4
35
with:
36
name: Go-results-${{ matrix.go-version }}
37
path: TestResults-${{ matrix.go-version }}.json
38
-
+
39
- name: Upload coverage reports to Codecov
40
uses: codecov/[email protected]
41
42
token: ${{ secrets.CODECOV_TOKEN }}
43
+ files: coverage-${{ matrix.go-version }}.txt
0 commit comments