debug generate coverage report
All checks were successful
Declarative Tests / test (push) Successful in 48s
All checks were successful
Declarative Tests / test (push) Successful in 48s
This commit is contained in:
parent
d47cd923f5
commit
20a26f7a6f
@ -30,12 +30,9 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
go test -coverprofile=artifacts/coverage.profile ./...
|
||||
- name: debug coverage report
|
||||
run: |
|
||||
echo $GITHUB_STEP_SUMMARY
|
||||
cat artifacts/coverage.profile
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
- name: coverage report
|
||||
run: |
|
||||
cat artifacts/coverage.profile >> $GITHUB_STEP_SUMMARY
|
||||
go tool cover -html=artifacts/coverage.profile -o artifacts/coverage.html
|
||||
cat artifacts/coverage.html >> $GITHUB_STEP_SUMMARY
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
|
Loading…
Reference in New Issue
Block a user