File tree Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Expand file tree Collapse file tree 2 files changed +19
-8
lines changed Original file line number Diff line number Diff line change @@ -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"
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
Original file line number Diff line number Diff line change @@ -58,13 +58,23 @@ jobs:
58
58
shell : bash
59
59
# Retry it three times to workaround compiler segfaults in windows
60
60
run : cabal build || cabal build || cabal build
61
- - name : Test
61
+
62
+ - name : Test func-test suite
62
63
shell : bash
63
64
env :
64
65
HLS_TEST_EXE : hls
65
66
HLS_WRAPPER_TEST_EXE : hls-wrapper
66
67
# run the tests without parallelism, otherwise tasty will attempt to run
67
68
# all functional test cases simultaneously which causes way too many hls
68
69
# instances to be spun up for the poor github actions runner to handle
69
- run : cabal test -- test-options="-j1 --rerun-update" || cabal test -- test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test --test-options="-j1 --rerun"
70
+ run : cabal test func-test -- test-options="-j1 --rerun-update" || cabal test func-test -- test-options="-j1 --rerun" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test func- test --test-options="-j1 --rerun"
70
71
72
+ - name : Test wrapper-test suite
73
+ shell : bash
74
+ env :
75
+ HLS_TEST_EXE : hls
76
+ HLS_WRAPPER_TEST_EXE : hls-wrapper
77
+ # run the tests without parallelism, otherwise tasty will attempt to run
78
+ # all functional test cases simultaneously which causes way too many hls
79
+ # instances to be spun up for the poor github actions runner to handle
80
+ run : cabal test wrapper-test --test-options="-j1"
You can’t perform that action at this time.
0 commit comments