mirror of https://github.com/knative/client.git
Use vendored deps while running e2e locally (#783)
Also set GO111MODULE=on unconditionally
This commit is contained in:
parent
5c56a0710c
commit
d1eb9bcb71
|
|
@ -15,6 +15,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
export PATH=$PWD:$PATH
|
||||
export GO111MODULE=on
|
||||
|
||||
dir=$(dirname "${BASH_SOURCE[0]}")
|
||||
base=$(cd "$dir/.." && pwd)
|
||||
|
|
@ -23,4 +24,4 @@ base=$(cd "$dir/.." && pwd)
|
|||
export KN_E2E_NAMESPACE=kne2etests
|
||||
|
||||
echo "🧪 Testing"
|
||||
go test ${base}/test/e2e/ -test.v -tags "e2e ${E2E_TAGS}" "$@"
|
||||
go test -mod=vendor ${base}/test/e2e/ -test.v -tags "e2e ${E2E_TAGS}" "$@"
|
||||
|
|
|
|||
Loading…
Reference in New Issue