mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +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 ###
|
### Files ###
|
||||||
#############
|
#############
|
||||||
*.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