Skip to content

Commit a4ff21c

Browse files
committed
exclude in Windows
1 parent a0c756c commit a4ff21c

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ jobs:
8080
ghc: '9.4.1'
8181
# Exclude until https://github.com/haskell/actions/issues/129
8282
# is resolved.
83+
- os: windows-latest
84+
ghc: '9.4.3' # Excluded because github action cannot install it
8385
- os: windows-latest
8486
ghc: '9.2.5'
8587
# Mark which GHC versions on which platform we want to test.
@@ -98,7 +100,7 @@ jobs:
98100
ghc: '8.10.7'
99101
test: true
100102
- os: windows-latest
101-
ghc: '9.4.3'
103+
ghc: '9.4.2'
102104
test: true
103105
# Test on 9.2.4 until https://github.com/haskell/actions/issues/129
104106
# is resolved. Then switch to 9.2.5
@@ -165,15 +167,15 @@ jobs:
165167
HLS_WRAPPER_TEST_EXE: hls-wrapper
166168
run: cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper"
167169

168-
- if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.3'
170+
- if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
169171
name: Test hls-brittany-plugin
170172
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"
171173

172-
- if: matrix.test && matrix.ghc != '9.4.3'
174+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
173175
name: Test hls-refactor-plugin
174176
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"
175177

176-
- if: matrix.test && matrix.ghc != '9.4.3'
178+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
177179
name: Test hls-floskell-plugin
178180
run: 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"
179181

@@ -185,31 +187,31 @@ jobs:
185187
name: Test hls-pragmas-plugin
186188
run: 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"
187189

188-
- if: matrix.test && matrix.ghc != '9.4.3'
190+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
189191
name: Test hls-eval-plugin
190192
run: cabal test hls-eval-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="$TEST_OPTS"
191193

192-
- if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.3'
194+
- if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
193195
name: Test hls-haddock-comments-plugin
194196
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"
195197

196-
- if: matrix.test && matrix.ghc != '9.4.3'
198+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
197199
name: Test hls-splice-plugin
198200
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"
199201

200-
- if: matrix.test && matrix.ghc != '9.4.3'
202+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
201203
name: Test hls-stylish-haskell-plugin
202204
run: cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stylish-haskell-plugin --test-options="$TEST_OPTS"
203205

204-
- if: matrix.test && matrix.ghc != '9.4.3'
206+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
205207
name: Test hls-ormolu-plugin
206208
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"
207209

208-
- if: matrix.test && matrix.ghc != '9.4.3'
210+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
209211
name: Test hls-fourmolu-plugin
210212
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"
211213

212-
- if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.3'
214+
- if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
213215
name: Test hls-tactics-plugin test suite
214216
run: cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="$TEST_OPTS"
215217

@@ -225,15 +227,15 @@ jobs:
225227
name: Test hls-call-hierarchy-plugin test suite
226228
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"
227229

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

232-
- if: matrix.test && matrix.ghc != '9.4.3'
234+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
233235
name: Test hls-hlint-plugin test suite
234236
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"
235237

236-
- if: matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.3'
238+
- if: matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
237239
name: Test hls-stan-plugin test suite
238240
run: cabal test hls-stan-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stan-plugin --test-options="$TEST_OPTS"
239241

@@ -249,15 +251,15 @@ jobs:
249251
name: Test hls-qualify-imported-names-plugin test suite
250252
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"
251253

252-
- if: matrix.test && matrix.ghc != '9.4.3'
254+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
253255
name: Test hls-code-range-plugin test suite
254256
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"
255257

256258
- if: matrix.test
257259
name: Test hls-change-type-signature test suite
258260
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"
259261

260-
- if: matrix.test && matrix.ghc != '9.4.3'
262+
- if: matrix.test && matrix.ghc != '9.4.2' && matrix.ghc != '9.4.3'
261263
name: Test hls-gadt-plugin test suit
262264
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"
263265

0 commit comments

Comments
 (0)