From faa76617d2a5835dc66477abea56ee241e5cd945 Mon Sep 17 00:00:00 2001 From: Singee Date: Thu, 7 Sep 2023 14:47:50 +0800 Subject: [PATCH] ci: do not failfast if run test.sh manually --- .kitty/pre-push | 2 +- test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.kitty/pre-push b/.kitty/pre-push index 1358e8d..c66fa84 100755 --- a/.kitty/pre-push +++ b/.kitty/pre-push @@ -6,4 +6,4 @@ GIT_ROOT="$(git rev-parse --show-toplevel)" cd "$(mktemp -d)" git clone "$GIT_ROOT/.git" kitty cd kitty -./test.sh +./test.sh -failfast diff --git a/test.sh b/test.sh index 34ee9ef..0a9ce3e 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,3 @@ cd "$(git rev-parse --show-toplevel)" -go test -v -timeout=1m -count=1 -failfast ./... "$@" +go test -v -timeout=1m -count=1 ./... "$@" exit $?