You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,10 +85,11 @@ vet: ## Run go vet against code.
85
85
go vet ./...
86
86
87
87
ENVTEST_ASSETS_DIR=$(shell pwd)/testbin
88
+
SETUP_ENVTEST = $(shell pwd)/bin/setup-envtest
88
89
test: manifests generate fmt vet ## Run tests.
89
90
mkdir -p ${ENVTEST_ASSETS_DIR}
90
-
test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.11.1/hack/setup-envtest.sh
91
-
source${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out
0 commit comments