Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
update test recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
m00g3n committed Jan 19, 2024
1 parent d1c7847 commit b6b76ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ $(CONTROLLER_GEN): $(LOCALBIN)
go-generate:
go generate ./...

.PHONY: install-envtest
install-envtest:
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

.PHONY: test
test: generate
test: generate install-envtest
go test ./...

0 comments on commit b6b76ed

Please sign in to comment.