From 9e7a2a25cd79ede5269eda660115b61cad974634 Mon Sep 17 00:00:00 2001 From: Vibhav Bobade Date: Wed, 13 Mar 2024 03:20:47 +0530 Subject: [PATCH] add test to makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index be6e6c48..367d15c5 100644 --- a/Makefile +++ b/Makefile @@ -159,6 +159,9 @@ stop-test-k3d-tainted: ## Stop the k3d cluster with a tainted node for testing. ##@ Test +.PHONY: test +test: test-e2e-without-cluster + .PHONY: test-e2e-without-cluster test-e2e-without-cluster: manifests generate fmt vet envtest ## Run test. KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -coverprofile=coverage.txt