test: add codecov

This commit is contained in:
Antoine Aflalo
2024-08-27 10:29:45 -04:00
parent c57811fab1
commit befc4b0fab

View File

@@ -21,4 +21,8 @@ jobs:
run: go mod tidy
- name: Run tests
run: go test ./... -v
run: go test -coverprofile=coverage.txt
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}