Add codecov action

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
Sascha Grunert 2019-12-13 08:58:11 +01:00
parent 2eb5b30151
commit a8fbae22ae
No known key found for this signature in database
GPG Key ID: 8CE029DD1A866E52
2 changed files with 6 additions and 6 deletions

View File

@ -58,8 +58,9 @@ jobs:
go run build.go gfmrun docs/v2/manual.md go run build.go gfmrun docs/v2/manual.md
go run build.go toc 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' if: success() && matrix.go == 1.13 && matrix.os == 'ubuntu-latest'
env: uses: codecov/codecov-action@v1
CODECOV_TOKEN: fa7ff1caed3c43c68ae994495a6469d8 with:
run: bash <(curl -s https://codecov.io/bash) token: 0a8cc73b-bb7c-480b-8626-38a461643761
fail_ci_if_error: true

View File

@ -20,7 +20,6 @@ install:
- go version - go version
- go env - go env
- go get github.com/urfave/gfmrun/cmd/gfmrun - go get github.com/urfave/gfmrun/cmd/gfmrun
- go get golang.org/x/tools/cmd/goimports
- go mod tidy - go mod tidy
build_script: build_script: