mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
Include the test coverage report in the output
Inspired by: Nomad project
This commit is contained in:
parent
3fc714b9b6
commit
05b60da07c
@ -12,4 +12,4 @@ go build -o $TEMPDIR/consul || exit 1
|
|||||||
|
|
||||||
# Run the tests
|
# Run the tests
|
||||||
echo "--> Running tests"
|
echo "--> Running tests"
|
||||||
go list ./... | grep -v ^github.com/hashicorp/consul/vendor/ | PATH=$TEMPDIR:$PATH xargs -n1 go test ${GOTEST_FLAGS:-}
|
go list ./... | grep -v '^github.com/hashicorp/consul/vendor/' | PATH=$TEMPDIR:$PATH xargs -n1 go test ${GOTEST_FLAGS:--cover -timeout=360s}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user