Feat: unit test coverage report

This commit is contained in:
HFO4
2019-12-03 14:20:23 +08:00
parent 5424115e51
commit c09fc535dc
6 changed files with 168 additions and 24 deletions

View File

@@ -4,5 +4,6 @@ go:
git:
depth: 1
script:
- go build main.go
- go test -v -cover ./...
- go test -v -race -coverprofile=profile.out -covermode=atomic ./...
after_success:
- bash <(curl -s https://codecov.io/bash) -t uuid-repo-token