From 3f06c6396d11651ea4b3d4f3ed5949e7deb5bd78 Mon Sep 17 00:00:00 2001 From: Terence Tuhinanshu Date: Thu, 11 Jul 2024 12:02:49 -0400 Subject: [PATCH] Run console non-interactively on CI --- scripts/console.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/console.sh b/scripts/console.sh index ca658d2..415ceb9 100755 --- a/scripts/console.sh +++ b/scripts/console.sh @@ -4,4 +4,9 @@ set -ex ARGS=$* -docker run --rm -ti docker-taudem $ARGS +if [[ -z $CI ]]; then + docker run --rm -ti docker-taudem $ARGS +else + # Run in non-interactive mode in CI + docker run --rm docker-taudem $ARGS +fi