mirror of
https://github.com/pion/webrtc.git
synced 2025-09-26 19:21:12 +08:00
Use -coverpkg with go test
Our tests aren't being executed recursively, use this so everything gets run Resolves #320
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -14,4 +14,5 @@ vendor/
|
||||
### Files ###
|
||||
#############
|
||||
*.ivf
|
||||
tags
|
||||
tags
|
||||
cover.out
|
||||
|
@@ -20,7 +20,8 @@ script:
|
||||
- rm -rf examples
|
||||
# Remove examples, no test coverage for them
|
||||
- golangci-lint run
|
||||
- goveralls -v -race -covermode=atomic -service=travis-ci
|
||||
- go test -coverpkg=$(go list ./... | tr '\n' ',') -coverprofile=cover.out -v -race -covermode=atomic ./...
|
||||
- goveralls -coverprofile=cover.out -service=travis-ci
|
||||
- bash .github/assert-contributors.sh
|
||||
- bash .github/lint-disallowed-functions-in-library.sh
|
||||
- bash .github/lint-commit-message.sh
|
||||
|
Reference in New Issue
Block a user