try skip ci [skip ci]
This commit is contained in:
7
.github/workflows/short-tests.yml
vendored
7
.github/workflows/short-tests.yml
vendored
@@ -25,4 +25,9 @@ jobs:
|
||||
name: coverage-report_build_${{ github.run_number }}
|
||||
path: ${{ github.workspace }}/src/cover.out
|
||||
retention-days: 1
|
||||
|
||||
- name: Generate coverage badge
|
||||
run: |
|
||||
go install github.com/t-yuki/gocover-cobertura@latest
|
||||
gocover-cobertura < cover.out > coverage.xml
|
||||
go install github.com/boumenot/gocover-cobertura@latest
|
||||
gocover-cobertura -coverprofile=cover.out -o coverage.svg
|
||||
|
||||
Reference in New Issue
Block a user