Merge pull request #495 from helmfile/add_go_test_total_cover

feat: add go test total cover
This commit is contained in:
yxxhero
2022-11-05 16:58:00 +08:00
committed by GitHub
+2 -1
View File
@@ -45,7 +45,8 @@ 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
go test -v ${PKGS} -coverprofile cover.out -race -p=1
go tool cover -func cover.out
.PHONY: test
integration: