From da8f89fea36ab9dad1a4dd43762045d4a1f15b72 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Sat, 23 Mar 2024 17:19:13 -0700 Subject: [PATCH] debug generate coverage report --- .gitea/workflows/test.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 }}."