diff --git a/Makefile b/Makefile index 59ef8bd..531656a 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ run-golangci-lint: FORCE prepare-static-check build/cover.out: FORCE install-ginkgo generate install-setup-envtest | build @printf "\e[1;36m>> Running tests\e[0m\n" - KUBEBUILDER_ASSETS="$(shell setup-envtest use 1.30 --bin-dir $(TESTBIN) -p path)" ginkgo run --randomize-all -output-dir=build $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -covermode=count -coverpkg=$(subst $(space),$(comma),$(GO_COVERPKGS)) $(GO_TESTPKGS) + KUBEBUILDER_ASSETS="$(shell setup-envtest use 1.31 --bin-dir $(TESTBIN) -p path)" ginkgo run --randomize-all -output-dir=build $(GO_BUILDFLAGS) -ldflags '-s -w $(GO_LDFLAGS)' -covermode=count -coverpkg=$(subst $(space),$(comma),$(GO_COVERPKGS)) $(GO_TESTPKGS) @mv build/coverprofile.out build/cover.out build/cover.html: build/cover.out