Merge pull request #12 from CarlJi/0523

upload coverage report to codecov
This commit is contained in:
Changjun Ji 2020-05-23 16:48:33 +08:00 committed by GitHub
commit 3a9727ed2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -26,4 +26,5 @@ jobs:
- name: Go test
run: |
export DEFAULT_EXCEPT_PKGS=e2e
go test -p 1 -cover $(go list ./... | grep -v -E $DEFAULT_EXCEPT_PKGS)
go test -p 1 -race -coverprofile=coverage.txt $(go list ./... | grep -v -E $DEFAULT_EXCEPT_PKGS)
bash <(curl -s https://codecov.io/bash)

View File

@ -2,6 +2,7 @@
![](https://github.com/qiniu/goc/workflows/ut-check/badge.svg)
![](https://github.com/qiniu/goc/workflows/style-check/badge.svg)
![](https://github.com/qiniu/goc/workflows/e2e%20test/badge.svg)
[![codecov](https://codecov.io/gh/qiniu/goc/branch/master/graph/badge.svg)](https://codecov.io/gh/qiniu/goc)
A Comprehensive Coverage Testing System for The Go Programming Language
> **Note:**