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 047ab76 commit 0a84a68Copy full SHA for 0a84a68
.github/workflows/test.yaml
@@ -34,6 +34,12 @@ jobs:
34
go mod download
35
go test -v ./... -coverpkg=./... -short -coverprofile=unit_coverage.out
36
37
+ - name: Archive code coverage results
38
+ uses: actions/upload-artifact@v4
39
+ with:
40
+ name: code-coverage-${{github.sha}}
41
+ path: unit_coverage.out
42
+
43
code_coverage:
44
name: "Code coverage report"
45
if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch
@@ -46,5 +52,5 @@ jobs:
46
52
steps:
47
53
- uses: fgrosse/[email protected]
48
54
with:
49
- coverage-artifact-name: "code-coverage" # can be omitted if you used this default value
55
+ coverage-artifact-name: code-coverage-${{github.sha}} # can be omitted if you used this default value
50
56
coverage-file-name: unit_coverage.out
0 commit comments