File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ defaults: &defaults
4242
4343 - run :
4444 name : Build Testsuite without running it
45- command : stack -j 2 - -stack-yaml=${STACK_FILE} build --test --no-run-tests
45+ command : stack --stack-yaml=${STACK_FILE} build --test --no-run-tests
4646 no_output_timeout : 30m
4747
4848 - store_artifacts :
@@ -65,8 +65,11 @@ defaults: &defaults
6565
6666 - run :
6767 name : Test haskell-language-server
68- # Tests MUST run with -j1, since multiple ghc-mod sessions are not allowed
69- command : stack -j 1 --stack-yaml=${STACK_FILE} test haskell-language-server --dump-logs
68+ # Tasty by default will run all the tests in parallel. Which should
69+ # work ok, but given that these CircleCI runners aren't the beefiest
70+ # machine can cause some flakiness. So pass -j1 to Tasty (NOT Stack) to
71+ # tell it to go slow and steady.
72+ command : stack --stack-yaml=${STACK_FILE} test haskell-language-server --dump-logs --test-arguments="-j1"
7073 no_output_timeout : 120m
7174
7275 - store_test_results :
You can’t perform that action at this time.
0 commit comments