Another try at adding codecov

This commit is contained in:
Michael Steinert
2023-11-29 21:41:05 -06:00
parent fb46dfb9da
commit 004c7008f4
4 changed files with 7 additions and 5 deletions

View File

@@ -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 }}