update UT checker
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
This commit is contained in:
parent
937f45363d
commit
ba2f55d4fd
2
Makefile
2
Makefile
|
|
@ -57,7 +57,7 @@ vet: ## Run go vet against code.
|
|||
|
||||
.PHONY: test
|
||||
test: manifests generate fmt vet envtest ## Run tests.
|
||||
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./... -coverprofile cover.out
|
||||
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path)" go test ./pkg/... -coverprofile cover.out
|
||||
|
||||
##@ Build
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue