ci: add test result action

This commit is contained in:
Antoine Aflalo
2024-08-27 10:40:26 -04:00
parent 314157968e
commit f515deac28

View File

@@ -30,7 +30,11 @@ jobs:
- name: Run tests
run: go test -v 2>&1 ./... -coverprofile=coverage.txt | go-junit-report -set-exit-code > junit.xml
- name: Upload results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}