This commit is contained in:
parent
ec5118279d
commit
da8f89fea3
@ -33,6 +33,10 @@ jobs:
|
|||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
- name: coverage report
|
- name: coverage report
|
||||||
run: |
|
run: |
|
||||||
go tool cover -html=artifacts/coverage.profile -o artifacts/coverage.html
|
go tool cover -html=artifacts/coverage.profile -o artifacts/code-coverage.html
|
||||||
cat artifacts/coverage.html
|
- name: Archive code coverage results
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: code-coverage-report
|
||||||
|
path: artifacts/code-coverage.html
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
Loading…
Reference in New Issue
Block a user