mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Use anchored regexp for filtering vendored tests
This commit is contained in:
@@ -11,7 +11,7 @@ go build -o $TEMPDIR/nomad || exit 1
|
||||
# Run the tests
|
||||
echo "--> Running tests"
|
||||
GOBIN="`which go`"
|
||||
go list ./... | grep -v '/vendor/' | \
|
||||
go list ./... | grep -v '^github.com/hashicorp/nomad/vendor/' | \
|
||||
sudo \
|
||||
-E PATH=$TEMPDIR:$PATH \
|
||||
-E GOPATH=$GOPATH \
|
||||
|
||||
Reference in New Issue
Block a user