You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+5-1
Original file line number
Diff line number
Diff line change
@@ -123,8 +123,12 @@ vet: ## Run go vet against code.
123
123
test: manifests generate fmt vet envtest image-build ## Run tests.
124
124
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test $$(go list ./... | grep -v /e2e) -race -coverprofile cover.out
125
125
126
+
.PHONY: test-unit
127
+
test-unit: ## Run unit tests.
128
+
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./pkg/... -race -coverprofile cover.out
129
+
126
130
.PHONY: test-integration
127
-
test-integration: ## Run tests.
131
+
test-integration: ## Run integration tests.
128
132
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./test/integration/epp/... -race -coverprofile cover.out
0 commit comments