Skip to content

Commit 37b3955

Browse files
committed
Run 9.4 tests for enabled plugins
1 parent 40da57a commit 37b3955

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
name: Test hls-brittany-plugin
170170
run: 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"
171171

172-
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
172+
- if: matrix.test
173173
name: Test hls-refactor-plugin
174174
run: cabal test hls-refactor-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-refactor-plugin --test-options="$TEST_OPTS"
175175

@@ -193,7 +193,7 @@ jobs:
193193
name: Test hls-haddock-comments-plugin
194194
run: cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS"
195195

196-
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
196+
- if: matrix.test
197197
name: Test hls-splice-plugin
198198
run: cabal test hls-splice-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-splice-plugin --test-options="$TEST_OPTS"
199199

@@ -205,7 +205,7 @@ jobs:
205205
name: Test hls-ormolu-plugin
206206
run: cabal test hls-ormolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-ormolu-plugin --test-options="$TEST_OPTS"
207207

208-
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
208+
- if: matrix.test
209209
name: Test hls-fourmolu-plugin
210210
run: cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS"
211211

@@ -225,11 +225,11 @@ jobs:
225225
name: Test hls-call-hierarchy-plugin test suite
226226
run: 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"
227227

228-
- if: matrix.test && matrix.os != 'windows-latest' && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
228+
- if: matrix.test && matrix.os != 'windows-latest'
229229
name: Test hls-rename-plugin test suite
230230
run: 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"
231231

232-
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
232+
- if: matrix.test
233233
name: Test hls-hlint-plugin test suite
234234
run: cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-hlint-plugin --test-options="$TEST_OPTS"
235235

@@ -249,15 +249,15 @@ jobs:
249249
name: Test hls-qualify-imported-names-plugin test suite
250250
run: cabal test hls-qualify-imported-names-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-qualify-imported-names-plugin --test-options="$TEST_OPTS"
251251

252-
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
252+
- if: matrix.test
253253
name: Test hls-code-range-plugin test suite
254254
run: cabal test hls-code-range-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-code-range-plugin --test-options="$TEST_OPTS"
255255

256256
- if: matrix.test
257257
name: Test hls-change-type-signature test suite
258258
run: cabal test hls-change-type-signature-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-change-type-signature-plugin --test-options="$TEST_OPTS"
259259

260-
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
260+
- if: matrix.test
261261
name: Test hls-gadt-plugin test suit
262262
run: cabal test hls-gadt-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-gadt-plugin --test-options="$TEST_OPTS"
263263

plugins/hls-refactor-plugin/test/data/hiding/hie.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ cradle:
22
direct:
33
arguments:
44
- -Wall
5-
- HideFunction.hs
65
- AVec.hs
76
- BVec.hs
87
- CVec.hs

0 commit comments

Comments
 (0)