diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 542154c..3404aeb 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -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 }}."