From 3abe2ae7b9231ca968b2bbf9e388b5169e821f0e Mon Sep 17 00:00:00 2001 From: Konstantin8105 Date: Thu, 30 May 2024 10:57:45 +0300 Subject: [PATCH] add max-args --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index 46ec8b9b..d5dbdf6d 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -40,7 +40,7 @@ echo "PKGS_DELIM : $PKGS_DELIM" touch ./coverage.tmp echo 'mode: atomic' > coverage.txt -go list ./... | grep -v testdata | grep -v examples | grep -v tests | grep -v vendor | grep -v /cmd | grep -v /vendor | xargs -n1 -I{} sh -c 'go test -covermode=atomic -coverprofile=coverage.tmp -coverpkg $(go list ./... | grep -v /vendor | tr "\n" ",") {} && tail -n +2 coverage.tmp >> coverage.txt || exit 255' && rm coverage.tmp +go list ./... | grep -v testdata | grep -v examples | grep -v tests | grep -v vendor | grep -v /cmd | grep -v /vendor | xargs -n100 -I{} sh -c 'go test -covermode=atomic -coverprofile=coverage.tmp -coverpkg $(go list ./... | grep -v /vendor | tr "\n" ",") {} && tail -n +2 coverage.tmp >> coverage.txt || exit 255' && rm coverage.tmp # go test \ # -cover \