upload coverage report to codecov

This commit is contained in:
jichangjun 2020-05-23 16:33:49 +08:00
parent a39187f6df
commit 363e5a6a31

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)