mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-09-10 08:39:37 +00:00
Update coverage profile file name in test workflow
This commit is contained in:
@@ -23,11 +23,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: ^1.23
|
go-version: ^1.23
|
||||||
|
|
||||||
# When you execute your unit tests, make sure to use the "-coverprofile" flag to write a
|
|
||||||
# coverage profile to a file. You will need the name of the file (e.g. "coverage.txt")
|
|
||||||
# in the next step as well as the next job.
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -cover -coverprofile=coverage.txt ./internal/decoders/...
|
run: go test -cover -coverprofile=decoders_coverage.txt ./internal/decoders/...
|
||||||
|
|
||||||
- name: Archive code coverage results
|
- name: Archive code coverage results
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user