From 5cf1a834df73bd5a6fe6ecae9818186a04e95d09 Mon Sep 17 00:00:00 2001 From: Sebastian Sch Date: Mon, 8 May 2023 17:27:37 +0300 Subject: [PATCH] Update the make test command to not try to run the functional tests Signed-off-by: Sebastian Sch --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 04499e4161..8b94b21814 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ image: ; $(info Building image...) # Run tests test: generate vet manifests envtest - KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir=/tmp -p path)" HOME="$(shell pwd)" go test ./... -coverprofile cover.out -v + KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir=/tmp -p path)" HOME="$(shell pwd)" go test `go list ./... | grep -v test/` -coverprofile cover.out -v # Build manager binary manager: generate vet _build-manager