Skip to content

Commit 22cd25f

Browse files
committed
fix test matrix
1 parent 7ab6b97 commit 22cd25f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ jobs:
150150
name: Test hls-brittany-plugin
151151
run: cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="$TEST_OPTS"
152152

153-
- if: matrix.test
153+
- if: matrix.test && matrix.ghc != '9.2.1'
154154
name: Test hls-floskell-plugin
155155
run: cabal test hls-floskell-plugin --test-options="$TEST_OPTS" || cabal test hls-floskell-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-floskell-plugin --test-options="$TEST_OPTS"
156156

157157
- if: matrix.test
158158
name: Test hls-class-plugin
159159
run: cabal test hls-class-plugin --test-options="$TEST_OPTS" || cabal test hls-class-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-class-plugin --test-options="$TEST_OPTS"
160160

161-
- if: matrix.test && matrix.ghc != '9.2.1'
161+
- if: matrix.test
162162
name: Test hls-pragmas-plugin
163163
run: cabal test hls-pragmas-plugin --test-options="$TEST_OPTS" || cabal test hls-pragmas-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-pragmas-plugin --test-options="$TEST_OPTS"
164164

@@ -202,7 +202,7 @@ jobs:
202202
name: Test hls-call-hierarchy-plugin test suite
203203
run: cabal test hls-call-hierarchy-plugin --test-options="$TEST_OPTS" || cabal test hls-call-hierarchy-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-call-hierarchy-plugin --test-options="$TEST_OPTS"
204204

205-
- if: matrix.test && matrix.ghc != '9.2.1'
205+
- if: matrix.test
206206
name: Test hls-rename-plugin test suite
207207
run: cabal test hls-rename-plugin --test-options="$TEST_OPTS" || cabal test hls-rename-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-rename-plugin --test-options="$TEST_OPTS"
208208

cabal-ghc921.project

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ packages:
2626
-- ./plugins/hls-ormolu-plugin
2727
./plugins/hls-call-hierarchy-plugin
2828
-- ./plugins/hls-alternate-number-format-plugin
29+
../lsp/lsp-test
2930

3031
source-repository-package
3132
type: git

0 commit comments

Comments
 (0)