Add codecov action
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
2eb5b30151
commit
a8fbae22ae
9
.github/workflows/cli.yml
vendored
9
.github/workflows/cli.yml
vendored
@ -58,8 +58,9 @@ jobs:
|
||||
go run build.go gfmrun docs/v2/manual.md
|
||||
go run build.go toc docs/v2/manual.md
|
||||
|
||||
- name: Send Coverage Report
|
||||
- name: Upload coverage to Codecov
|
||||
if: success() && matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
|
||||
env:
|
||||
CODECOV_TOKEN: fa7ff1caed3c43c68ae994495a6469d8
|
||||
run: bash <(curl -s https://codecov.io/bash)
|
||||
uses: codecov/codecov-action@v1
|
||||
with:
|
||||
token: 0a8cc73b-bb7c-480b-8626-38a461643761
|
||||
fail_ci_if_error: true
|
||||
|
@ -20,10 +20,9 @@ install:
|
||||
- go version
|
||||
- go env
|
||||
- go get github.com/urfave/gfmrun/cmd/gfmrun
|
||||
- go get golang.org/x/tools/cmd/goimports
|
||||
- go mod tidy
|
||||
|
||||
build_script:
|
||||
- go run build.go vet
|
||||
- go run build.go test
|
||||
- go run build.go gfmrun docs/v1/manual.md
|
||||
- go run build.go gfmrun docs/v1/manual.md
|
||||
|
Loading…
Reference in New Issue
Block a user