From ba2f55d4fd2250dd4054f427a8447bbd3b644d0b Mon Sep 17 00:00:00 2001 From: ChrisLiu Date: Tue, 27 Sep 2022 10:42:50 +0800 Subject: [PATCH] update UT checker Signed-off-by: ChrisLiu --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 19496598..be48dd4e 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,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) -p path)" go test ./... -coverprofile cover.out + KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./pkg/... -coverprofile cover.out ##@ Build