From 3069af5c4f04640e21106c00e36b92dc80da84b7 Mon Sep 17 00:00:00 2001 From: Akshay Iyyadurai Balasundaram Date: Tue, 22 Oct 2024 19:50:11 +0200 Subject: [PATCH] [ENHANCEMENT] fix make test target Signed-off-by: Akshay Iyyadurai Balasundaram --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 821ef76..14a617b 100644 --- a/Makefile +++ b/Makefile @@ -123,7 +123,7 @@ vet: ## Run go vet against code. .PHONY: test test: manifests generate fmt vet envtest ## Run tests. - KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -i --bin-dir $(LOCALBIN) -p path)" go test ./... -v -ginkgo.v -coverprofile cover.out + KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test $(shell go list ./...) -v -ginkgo.v -coverprofile cover.out .PHONY: lint lint: ## Run linting.