test: configure codecov
Some checks failed
ci-build / release (push) Has been cancelled
ci-build / lint (push) Has been cancelled
ci-build / build (push) Has been cancelled

This commit is contained in:
Rob Watson 2025-04-16 15:03:35 +02:00
parent b8389eceb0
commit dc6485cf6b
2 changed files with 5 additions and 1 deletions

View File

@ -54,6 +54,10 @@ jobs:
env:
DOCKER_API_VERSION: "1.45"
run: mise run test_integration_ci
- name: upload coverage report
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
release:
needs:
- lint

View File

@ -16,7 +16,7 @@ alias = "ti"
[tasks.test_ci]
description = "Run tests in CI"
dir = "{{cwd}}"
run = "go test -v -count 1 -race ./..."
run = "go test -v -count 1 -race -coverprofile=coverage.txt ./..."
[tasks.test_integration_ci]
description = "Run integration tests in CI"