From 719505afba8ed8a1499cbd52fade7028b9df0ab9 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Wed, 30 Oct 2019 16:51:54 +0100 Subject: [PATCH] enable GO111MODULE also on go test (#701) * enable GO111MODULE also on go test --- Makefile | 2 +- delivery.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6ffa29326..8710f17ee 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ deps: test: hack/verify-codegen.sh - @go test ./pkg/... + GO111MODULE=on go test ./... e2e: docker # build operator image to be tested cd e2e; make tools test clean diff --git a/delivery.yaml b/delivery.yaml index 1a18c16f9..ef249292c 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -32,7 +32,7 @@ pipeline: - desc: 'Run unit tests' cmd: | export PATH=$PATH:$HOME/go/bin - go test ./pkg/... + go test ./... - desc: 'Run e2e tests' cmd: | make e2e