debug generate coverage report
All checks were successful
Declarative Tests / test (push) Successful in 48s

This commit is contained in:
Matthew Rich 2024-03-23 17:08:42 -07:00
parent d47cd923f5
commit 20a26f7a6f

View File

@ -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 }}."