We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a90849 commit fffd104Copy full SHA for fffd104
.github/workflows/coverage.yml
@@ -20,6 +20,11 @@ jobs:
20
with:
21
go-version: stable
22
- name: Run coverage
23
- run: go test -coverprofile=coverage.out -covermode=count ./...
+ run: go tool gotestsum --format github-actions --junitfile junit.xml -- -coverprofile=coverage.out -covermode=count ./...
24
- name: Upload coverage to Codecov
25
uses: codecov/codecov-action@v5
26
+ - name: Upload test results to Codecov
27
+ if: ${{ !cancelled() }}
28
+ uses: codecov/test-results-action@v1
29
+ with:
30
+ token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments