From 62f198d6189de8de6d8f48031f3d03295d8d060f Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 4 Oct 2020 14:42:00 +0100 Subject: [PATCH] Rerun Windows tests just like linux tests (#846) --- .azure/windows-stack.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/windows-stack.yml b/.azure/windows-stack.yml index d426aaed..ecb90d92 100644 --- a/.azure/windows-stack.yml +++ b/.azure/windows-stack.yml @@ -55,8 +55,8 @@ jobs: displayName: 'stack build --only-dependencies' - bash: | if [ "$STACK_YAML" = "stack8101.yaml" ]; then - stack test --ghc-options="-Werror -fexternal-interpreter" --stack-yaml $STACK_YAML + stack test --ghc-options="-Werror -fexternal-interpreter" --stack-yaml $STACK_YAML || stack test --ghc-options="-Werror -fexternal-interpreter" --stack-yaml=$STACK_YAML --ta "--rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true stack test --ghc-options="-Werror -fexternal-interpreter" --stack-yaml=$STACK_YAML --ta "--rerun" else - stack test --ghc-options=-Werror --stack-yaml $STACK_YAML + stack test --ghc-options=-Werror --stack-yaml $STACK_YAML || stack test --ghc-options=-Werror --stack-yaml=$STACK_YAML --ta "--rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true stack test --ghc-options=-Werror --stack-yaml=$STACK_YAML --ta "--rerun" fi displayName: 'stack test --ghc-options=-Werror'