Skip to content

Commit e1a5752

Browse files
committed
Retry test suite to avoid flaky tests
1 parent d7f64de commit e1a5752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ defaults: &defaults
6969
# work ok, but given that these CircleCI runners aren't the beefiest
7070
# machine can cause some flakiness. So pass -j1 to Tasty (NOT Stack) to
7171
# tell it to go slow and steady.
72-
command: stack --stack-yaml=${STACK_FILE} test haskell-language-server --dump-logs --test-arguments="-j1"
72+
command: stack --stack-yaml=${STACK_FILE} test haskell-language-server --dump-logs --test-arguments="-j1 --rerun-update" || stack --stack-yaml=${STACK_FILE} test haskell-language-server --dump-logs --test-arguments="-j1 --rerun" || stack --stack-yaml=${STACK_FILE} test haskell-language-server --dump-logs --test-arguments="-j1 --rerun"
7373
no_output_timeout: 120m
7474

7575
- run:

0 commit comments

Comments
 (0)