File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ vet: ## Run go vet against code.
8282test : manifests generate fmt vet envtest # # Run tests.
8383 KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path) " go test $$(go list ./... | grep -v /e2e ) -coverprofile cover.out
8484
85+ .PHONY : test-exclude-controllers
86+ test-exclude-controllers : # # Run tests, excluding TestControllersGinkgo
87+ @echo " Running tests excluding TestControllersGinkgo..."
88+ @go test $$(go test ./... -list . | grep -v "^ok" | grep -v "TestControllersGinkgo" )
89+
8590# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
8691.PHONY : test-e2e # Run the e2e tests against a Kind k8s instance that is spun up.
8792test-e2e :
You can’t perform that action at this time.
0 commit comments