mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Excluding vendor tests
This commit is contained in:
@@ -12,4 +12,4 @@ go build -o $TEMPDIR/nomad || exit 1
|
||||
|
||||
# Run the tests
|
||||
echo "--> Running tests"
|
||||
go list ./... | sudo -E PATH=$TEMPDIR:$PATH xargs -n1 go test -cover -timeout=180s
|
||||
go list ./... | grep -v '/vendor/' | sudo -E PATH=$TEMPDIR:$PATH xargs -n1 go test -cover -timeout=180s
|
||||
|
||||
Reference in New Issue
Block a user