precheck for make test (#2116)

Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
yxxhero
2022-03-27 12:21:36 +09:00
committed by GitHub
parent cabaf15a1a
commit a8784a17ed
+1
View File
@@ -23,6 +23,7 @@ build-test-tools:
.PHONY: build-test-tools
test:
@which helm &> /dev/null || (echo "helm binary not found. Please see: https://helm.sh/docs/intro/install/" && exit 1)
go build -o helmfile .
go test -v ${PKGS} -cover -race -p=1
.PHONY: test