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
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,10 @@ test-unit: ## Run unit tests.
144
144
go tool cover -func=cover.out;\
145
145
rm cover.out
146
146
147
+
.PHONY: test-benchmark
148
+
test-benchmark: ## Run benchmarks.
149
+
CGO_ENABLED=1 KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./pkg/... -bench=. -benchmem;
150
+
147
151
.PHONY: test-integration
148
152
test-integration: envtest ## Run integration tests.
149
153
CGO_ENABLED=1 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