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
42
42
43
43
- run :
44
44
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
46
46
no_output_timeout : 30m
47
47
48
48
- store_artifacts :
@@ -65,8 +65,11 @@ defaults: &defaults
65
65
66
66
- run :
67
67
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"
70
73
no_output_timeout : 120m
71
74
72
75
- store_test_results :
You can’t perform that action at this time.
0 commit comments