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:
|
env:
|
||||||
DOCKER_API_VERSION: "1.45"
|
DOCKER_API_VERSION: "1.45"
|
||||||
run: mise run test_integration_ci
|
run: mise run test_integration_ci
|
||||||
|
- name: upload coverage report
|
||||||
|
uses: codecov/codecov-action@v5
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
release:
|
release:
|
||||||
needs:
|
needs:
|
||||||
- lint
|
- lint
|
||||||
|
@ -16,7 +16,7 @@ alias = "ti"
|
|||||||
[tasks.test_ci]
|
[tasks.test_ci]
|
||||||
description = "Run tests in CI"
|
description = "Run tests in CI"
|
||||||
dir = "{{cwd}}"
|
dir = "{{cwd}}"
|
||||||
run = "go test -v -count 1 -race ./..."
|
run = "go test -v -count 1 -race -coverprofile=coverage.txt ./..."
|
||||||
|
|
||||||
[tasks.test_integration_ci]
|
[tasks.test_integration_ci]
|
||||||
description = "Run integration tests in CI"
|
description = "Run integration tests in CI"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user