diff options
author | Michael Steinert <[email protected]> | 2023-11-29 21:41:05 -0600 |
---|---|---|
committer | Michael Steinert <[email protected]> | 2023-11-29 21:50:06 -0600 |
commit | 004c7008f4c64b16a4177d9d6630bc607d9f40e1 (patch) | |
tree | 1836e52da472f660c05df6fe906324589a42a9fd /.github/workflows/test.yaml | |
parent | fb46dfb9da51524eb8d5a5b281d2f245551e0585 (diff) |
Another try at adding codecov
Diffstat (limited to '.github/workflows/test.yaml')
-rw-r--r-- | .github/workflows/test.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 23b3b64..1a296fa 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,4 +19,8 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - name: Test - run: sudo go test -v ./... + run: sudo go test -v -cover -coverprofile=coverage.out ./... + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |