Skip to content

Commit

Permalink
add test to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
waveywaves committed Mar 12, 2024
1 parent 3769cf4 commit 9e7a2a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e7a2a2

Please sign in to comment.