Skip to content

Commit

Permalink
Use vendored deps while running e2e locally (knative#783)
Browse files Browse the repository at this point in the history
Also set GO111MODULE=on unconditionally
  • Loading branch information
navidshaikh authored and rhuss committed Apr 15, 2020
1 parent fb2d0d9 commit f521cc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/local-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.

export PATH=$PWD:$PATH
export GO111MODULE=on

dir=$(dirname "${BASH_SOURCE[0]}")
base=$(cd "$dir/.." && pwd)
Expand All @@ -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}" "$@"

0 comments on commit f521cc3

Please sign in to comment.