Skip to content

Commit

Permalink
Merge pull request #51 from waltforme/unit
Browse files Browse the repository at this point in the history
🌱 Make unit tests not require envtest
  • Loading branch information
MikeSpreitzer authored Mar 28, 2024
2 parents ce5c42d + f2f1a03 commit 7521a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ vet: ## Run go vet against code.
go vet ./...

.PHONY: test
test: manifests generate fmt vet envtest ## Run tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... -coverprofile cover.out
test: manifests generate fmt vet ## Run tests.
go test ./... -coverprofile cover.out

##@ Build

Expand Down

0 comments on commit 7521a37

Please sign in to comment.