File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,11 @@ unit-tests::vuln
6565unit-tests ::manifests
6666unit-tests ::just-unit-tests # # Run unit tests
6767
68+ GINKGO ?= go run github.com/onsi/ginkgo/v2/ginkgo
69+
6870.PHONY : just-unit-tests
6971just-unit-tests :
70- ginkgo -r --randomize-all api/ internal/ pkg/
72+ $( GINKGO ) -r --randomize-all api/ internal/ pkg/
7173
7274.PHONY : integration-tests
7375integration-tests ::install-tools
@@ -81,7 +83,7 @@ integration-tests::just-integration-tests ## Run integration tests
8183
8284.PHONY : just-integration-tests
8385just-integration-tests :
84- ginkgo -r controllers/
86+ $( GINKGO ) -r controllers/
8587
8688manifests : install-tools # # Generate manifests e.g. CRD, RBAC etc.
8789 controller-gen crd rbac:roleName=operator-role paths=" ./api/...;./controllers/..." output:crd:artifacts:config=config/crd/bases
@@ -232,7 +234,7 @@ cert-manager-rm:
232234 kubectl delete -f https://github.com/cert-manager/cert-manager/releases/download/v$(CERT_MANAGER_VERSION ) /cert-manager.yaml --ignore-not-found
233235
234236system-tests : install-tools # # Run end-to-end tests against Kubernetes cluster defined in ~/.kube/config
235- NAMESPACE=" $( SYSTEM_TEST_NAMESPACE) " K8S_OPERATOR_NAMESPACE=" $( K8S_OPERATOR_NAMESPACE) " ginkgo -nodes=3 --randomize-all -r system_tests/
237+ NAMESPACE=" $( SYSTEM_TEST_NAMESPACE) " K8S_OPERATOR_NAMESPACE=" $( K8S_OPERATOR_NAMESPACE) " $( GINKGO ) -nodes=3 --randomize-all -r system_tests/
236238
237239kubectl-plugin-tests : # # Run kubectl-rabbitmq tests
238240 @echo " running kubectl plugin tests"
You can’t perform that action at this time.
0 commit comments