mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-04 05:12:01 +02:00
Merge pull request #495 from helmfile/add_go_test_total_cover
feat: add go test total cover
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user