From 860be16b377adc07ad1f101ab9296d6cb43539c2 Mon Sep 17 00:00:00 2001 From: sweexordious Date: Mon, 15 Jan 2024 12:25:16 +0100 Subject: [PATCH] chore: fix coverage --- scripts/test_cover.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test_cover.sh b/scripts/test_cover.sh index fa1ffcf..6e382c5 100644 --- a/scripts/test_cover.sh +++ b/scripts/test_cover.sh @@ -5,7 +5,8 @@ PKGS=$(go list ./...) set -e echo "mode: atomic" > coverage.txt -for pkg in "${PKGS[@]}"; do +# shellcheck disable=SC2068 +for pkg in ${PKGS[@]}; do go test -v -timeout 30m -race -test.short -coverprofile=profile.out -covermode=atomic "$pkg" if [ -f profile.out ]; then tail -n +2 profile.out >> coverage.txt;