mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 11:32:19 +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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -15,3 +15,4 @@ vendor/
|
|||||||
#############
|
#############
|
||||||
*.ivf
|
*.ivf
|
||||||
tags
|
tags
|
||||||
|
cover.out
|
||||||
|
@@ -20,7 +20,8 @@ script:
|
|||||||
- rm -rf examples
|
- rm -rf examples
|
||||||
# Remove examples, no test coverage for them
|
# Remove examples, no test coverage for them
|
||||||
- golangci-lint run
|
- 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/assert-contributors.sh
|
||||||
- bash .github/lint-disallowed-functions-in-library.sh
|
- bash .github/lint-disallowed-functions-in-library.sh
|
||||||
- bash .github/lint-commit-message.sh
|
- bash .github/lint-commit-message.sh
|
||||||
|
Reference in New Issue
Block a user