File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ EXTRA_TAGS ?=
2525PLATFORM ?= linux/amd64
2626CONTAINER_TOOL ?= docker
2727
28- .PHONY : all generate deepcopy client lister informer manifests install-tools verify clean fmt vet tidy docker-build docker-push deploy install help show-vars
28+ .PHONY : all generate deepcopy client lister informer manifests install-tools verify clean fmt vet tidy test docker-build docker-push deploy install help show-vars
2929
3030all : generate manifests
3131
4444tidy :
4545 go mod tidy
4646
47+ test :
48+ go test -race -count=1 -cover ./...
49+
4750deepcopy :
4851 @$(CONTROLLER_GEN ) \
4952 object:headerFile=$(BOILERPLATE ) \
@@ -87,7 +90,7 @@ manifests:
8790verify :
8891 @git diff --exit-code || (echo " Generated code is out of date. Run 'make generate'." && exit 1)
8992
90- docker-build : manifests generate tidy fmt vet
93+ docker-build : manifests generate tidy fmt vet test
9194 $(CONTAINER_TOOL ) buildx build \
9295 --platform $(PLATFORM ) \
9396 -t $(IMAGE_NAME ) :$(VERSION ) \
You can’t perform that action at this time.
0 commit comments