test: configure codecov
This commit is contained in:
parent
b8389eceb0
commit
dc6485cf6b
4
.github/workflows/ci-build.yml
vendored
4
.github/workflows/ci-build.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user