From 5a4f172b316bd05ed759aba74902bc88592216c7 Mon Sep 17 00:00:00 2001 From: "Roland.Ma" Date: Fri, 20 Aug 2021 10:28:01 +0000 Subject: [PATCH] taddclient-go and api package ut to makefile Signed-off-by: Roland.Ma --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 07c8edf82..5385d3f53 100644 --- a/Makefile +++ b/Makefile @@ -139,6 +139,8 @@ helm-uninstall: ; $(info $(M)...Begin to helm-uninstall.) @ ## Helm-uninstall. # Run tests test: vet ;$(info $(M)...Begin to run tests.) @ ## Run tests. export KUBEBUILDER_CONTROLPLANE_START_TIMEOUT=2m; go test ./pkg/... ./cmd/... -covermode=atomic -coverprofile=coverage.txt + cd staging/src/kubesphere.io/api ; GOFLAGS="" go test ./... + cd staging/src/kubesphere.io/client-go ; GOFLAGS="" go test ./... .PHONY: clean clean: ;$(info $(M)...Begin to clean.) @ ## Clean.