mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-08-16 12:53:36 +00:00
Update coverage profile file name in test workflow
This commit is contained in:
@@ -23,11 +23,8 @@ jobs:
|
||||
with:
|
||||
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
|
||||
run: go test -cover -coverprofile=coverage.txt ./internal/decoders/...
|
||||
run: go test -cover -coverprofile=decoders_coverage.txt ./internal/decoders/...
|
||||
|
||||
- name: Archive code coverage results
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user