diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 01f1520..a0af55a 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -33,6 +33,10 @@ jobs: - run: echo "This job's status is ${{ job.status }}." - name: coverage report run: | - go tool cover -html=artifacts/coverage.profile -o artifacts/coverage.html - cat artifacts/coverage.html + go tool cover -html=artifacts/coverage.profile -o artifacts/code-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 }}."