Skip to content

Commit 719505a

Browse files
authored
enable GO111MODULE also on go test (zalando#701)
* enable GO111MODULE also on go test
1 parent 0a7b09e commit 719505a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ deps:
9393

9494
test:
9595
hack/verify-codegen.sh
96-
@go test ./pkg/...
96+
GO111MODULE=on go test ./...
9797

9898
e2e: docker # build operator image to be tested
9999
cd e2e; make tools test clean

delivery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pipeline:
3232
- desc: 'Run unit tests'
3333
cmd: |
3434
export PATH=$PATH:$HOME/go/bin
35-
go test ./pkg/...
35+
go test ./...
3636
- desc: 'Run e2e tests'
3737
cmd: |
3838
make e2e

0 commit comments

Comments
 (0)