Merge pull request #3153 from nspcc-dev/fix-codecov
.github: upgrade coverage uploading action
This commit is contained in:
commit
fce98a0af8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
|
@ -109,7 +109,7 @@ jobs:
|
||||||
run: go test -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
|
run: go test -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
|
||||||
|
|
||||||
- name: Upload coverage results to Codecov
|
- name: Upload coverage results to Codecov
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
fail_ci_if_error: true # if something is wrong on uploading codecov results, then this job will fail
|
fail_ci_if_error: true # if something is wrong on uploading codecov results, then this job will fail
|
||||||
files: ./coverage.txt
|
files: ./coverage.txt
|
||||||
|
|
Loading…
Reference in a new issue