@@ -64,20 +64,21 @@ defaults: &defaults
64
64
no_output_timeout : 120m
65
65
66
66
- run :
67
- name : Test haskell-language-server
67
+ name : Test haskell-language-server func-test suite
68
68
# Tasty by default will run all the tests in parallel. Which should
69
69
# work ok, but given that these CircleCI runners aren't the beefiest
70
70
# machine can cause some flakiness. So pass -j1 to Tasty (NOT Stack) to
71
71
# tell it to go slow and steady.
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"
72
+ command : stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun-update" || stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true stack --stack-yaml=${STACK_FILE} test haskell-language-server:func-test --dump-logs --test-arguments="-j1 --rerun"
73
73
no_output_timeout : 120m
74
74
75
+ - run :
76
+ name : Test haskell-language-server wrapper-test suite
77
+ command : stack --stack-yaml=${STACK_FILE} test haskell-language-server:wrapper-test --dump-logs --test-arguments="-j1" || stack --stack-yaml=${STACK_FILE} test haskell-language-server:wrapper-test --dump-logs --test-arguments="-j1"
78
+ no_output_timeout : 30m
79
+
75
80
- run :
76
81
name : Test hls-tactics-plugin
77
- # Tasty by default will run all the tests in parallel. Which should
78
- # work ok, but given that these CircleCI runners aren't the beefiest
79
- # machine can cause some flakiness. So pass -j1 to Tasty (NOT Stack) to
80
- # tell it to go slow and steady.
81
82
command : stack --stack-yaml=${STACK_FILE} test hls-tactics-plugin:test:tests --dump-logs --test-arguments="-j1"
82
83
no_output_timeout : 30m
83
84
@@ -128,10 +129,10 @@ jobs:
128
129
- STACK_FILE : " stack-8.10.2.yaml"
129
130
<< : *defaults
130
131
131
- # ghc-nightly:
132
- # environment:
133
- # - STACK_FILE: "stack.yaml"
134
- # <<: *defaults
132
+ ghc-nightly :
133
+ environment :
134
+ - STACK_FILE : " stack.yaml"
135
+ << : *defaults
135
136
136
137
cabal :
137
138
working_directory : ~/build
@@ -189,7 +190,7 @@ jobs:
189
190
- cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
190
191
- run :
191
192
name : Build
192
- command : nix-shell -j4 --run "cabal new-update && cabal new-build -j1 --enable-tests"
193
+ command : nix-shell -j4 --run "cabal new-update && ( cabal new-build -j1 --enable-tests || cabal new-build -j1 --enable-tests) "
193
194
no_output_timeout : 30m
194
195
- save_cache :
195
196
key : cabal-{{ .Environment.HIE_CACHE }}-{{ arch }}-{{ .Environment.CIRCLE_JOB }}
0 commit comments