ci: replace codecov upload with coverage summary display
Remove the Codecov action for uploading coverage reports and instead add a step to display a summary of test coverage in the CI output.
This commit is contained in:
parent
db92750d12
commit
b8906e44c1
@ -36,11 +36,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
go test -v -race -coverprofile=coverage.out ./...
|
go test -v -race -coverprofile=coverage.out ./...
|
||||||
|
|
||||||
- name: Upload coverage
|
- name: Display coverage summary
|
||||||
uses: codecov/codecov-action@v4
|
run: |
|
||||||
with:
|
go tool cover -func=coverage.out | tail -1
|
||||||
file: ./coverage.out
|
|
||||||
fail_ci_if_error: false
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
name: Lint
|
name: Lint
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user