Skip to content

Commit 73ce412

Browse files
committed
revert test CI changes
1 parent 767ca29 commit 73ce412

File tree

1 file changed

+32
-32
lines changed

1 file changed

+32
-32
lines changed

.github/workflows/test.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,18 @@ jobs:
114114
- if: needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
115115
name: Test ghcide
116116
# run the tests without parallelism to avoid running out of memory
117-
run: cabal test ghcide-tests
117+
run: cabal test ghcide-tests || cabal test ghcide-tests
118118

119119
- if: matrix.test
120120
name: Test hls-plugin-api
121-
run: cabal test hls-plugin-api
121+
run: cabal test hls-plugin-api || cabal test hls-plugin-api
122122

123123
- if: matrix.test
124124
name: Test func-test suite
125125
env:
126126
HLS_TEST_EXE: hls
127127
HLS_WRAPPER_TEST_EXE: hls-wrapper
128-
run: cabal test func-test
128+
run: cabal test func-test || cabal test func-test
129129

130130
- if: matrix.test
131131
name: Test wrapper-test suite
@@ -136,124 +136,124 @@ jobs:
136136

137137
- if: matrix.test
138138
name: Test hls-refactor-plugin
139-
run: cabal test hls-refactor-plugin-tests
139+
run: cabal test hls-refactor-plugin-tests || cabal test hls-refactor-plugin-tests
140140

141141
# TODO enable when it supports 9.10
142142
- if: matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
143143
name: Test hls-floskell-plugin
144-
run: cabal test hls-floskell-plugin-tests
144+
run: cabal test hls-floskell-plugin-tests || cabal test hls-floskell-plugin-tests
145145

146146
- if: matrix.test
147147
name: Test hls-class-plugin
148-
run: cabal test hls-class-plugin-tests
148+
run: cabal test hls-class-plugin-tests || cabal test hls-class-plugin-tests
149149

150150
- if: matrix.test
151151
name: Test hls-pragmas-plugin
152-
run: cabal test hls-pragmas-plugin-tests
152+
run: cabal test hls-pragmas-plugin-tests || cabal test hls-pragmas-plugin-tests
153153

154154
- if: matrix.test
155155
name: Test hls-eval-plugin
156-
run: cabal test hls-eval-plugin-tests
156+
run: cabal test hls-eval-plugin-tests || cabal test hls-eval-plugin-tests
157157

158158
# TODO enable when it supports 9.10
159159
- if: matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
160160
name: Test hls-splice-plugin
161-
run: cabal test hls-splice-plugin-tests
161+
run: cabal test hls-splice-plugin-tests || cabal test hls-splice-plugin-tests
162162

163163
- if: matrix.test && matrix.ghc != '9.12'
164164
name: Test hls-stan-plugin
165-
run: cabal test hls-stan-plugin-tests
165+
run: cabal test hls-stan-plugin-tests || cabal test hls-stan-plugin-tests
166166

167167
- if: matrix.test
168168
name: Test hls-stylish-haskell-plugin
169-
run: cabal test hls-stylish-haskell-plugin-tests
169+
run: cabal test hls-stylish-haskell-plugin-tests || cabal test hls-stylish-haskell-plugin-tests
170170

171171
- if: matrix.test
172172
name: Test hls-ormolu-plugin
173-
run: cabal test hls-ormolu-plugin-tests
173+
run: cabal test hls-ormolu-plugin-tests || cabal test hls-ormolu-plugin-tests
174174

175175
- if: matrix.test
176176
name: Test hls-fourmolu-plugin
177-
run: cabal test hls-fourmolu-plugin-tests
177+
run: cabal test hls-fourmolu-plugin-tests || cabal test hls-fourmolu-plugin-tests
178178

179179
- if: matrix.test
180180
name: Test hls-explicit-imports-plugin test suite
181-
run: cabal test hls-explicit-imports-plugin-tests
181+
run: cabal test hls-explicit-imports-plugin-tests || cabal test hls-explicit-imports-plugin-tests
182182

183183
- if: matrix.test
184184
name: Test hls-call-hierarchy-plugin test suite
185-
run: cabal test hls-call-hierarchy-plugin-tests
185+
run: cabal test hls-call-hierarchy-plugin-tests || cabal test hls-call-hierarchy-plugin-tests
186186

187187
- if: matrix.test && matrix.os != 'windows-latest'
188188
name: Test hls-rename-plugin test suite
189-
run: cabal test hls-rename-plugin-tests
189+
run: cabal test hls-rename-plugin-tests || cabal test hls-rename-plugin-tests
190190

191191
# TODO enable when it supports 9.10
192192
- if: matrix.test && matrix.ghc != '9.10'
193193
name: Test hls-hlint-plugin test suite
194-
run: cabal test hls-hlint-plugin-tests
194+
run: cabal test hls-hlint-plugin-tests || cabal test hls-hlint-plugin-tests
195195

196196
- if: matrix.test
197197
name: Test hls-module-name-plugin test suite
198-
run: cabal test hls-module-name-plugin-tests
198+
run: cabal test hls-module-name-plugin-tests || cabal test hls-module-name-plugin-tests
199199

200200
- if: matrix.test
201201
name: Test hls-alternate-number-format-plugin test suite
202-
run: cabal test hls-alternate-number-format-plugin-tests
202+
run: cabal test hls-alternate-number-format-plugin-tests || cabal test hls-alternate-number-format-plugin-tests
203203

204204
- if: matrix.test
205205
name: Test hls-qualify-imported-names-plugin test suite
206-
run: cabal test hls-qualify-imported-names-plugin-tests
206+
run: cabal test hls-qualify-imported-names-plugin-tests || cabal test hls-qualify-imported-names-plugin-tests
207207

208208
- if: matrix.test
209209
name: Test hls-code-range-plugin test suite
210-
run: cabal test hls-code-range-plugin-tests
210+
run: cabal test hls-code-range-plugin-tests || cabal test hls-code-range-plugin-tests
211211

212212
- if: matrix.test
213213
name: Test hls-change-type-signature test suite
214-
run: cabal test hls-change-type-signature-plugin-tests
214+
run: cabal test hls-change-type-signature-plugin-tests || cabal test hls-change-type-signature-plugin-tests
215215

216216
- if: matrix.test
217217
name: Test hls-gadt-plugin test suit
218-
run: cabal test hls-gadt-plugin-tests
218+
run: cabal test hls-gadt-plugin-tests || cabal test hls-gadt-plugin-tests
219219

220220
- if: matrix.test
221221
name: Test hls-explicit-fixity-plugin test suite
222-
run: cabal test hls-explicit-fixity-plugin-tests
222+
run: cabal test hls-explicit-fixity-plugin-tests || cabal test hls-explicit-fixity-plugin-tests
223223

224224
- if: matrix.test
225225
name: Test hls-explicit-record-fields-plugin test suite
226-
run: cabal test hls-explicit-record-fields-plugin-tests
226+
run: cabal test hls-explicit-record-fields-plugin-tests || cabal test hls-explicit-record-fields-plugin-tests
227227

228228
# versions need to be limited since the tests depend on cabal-fmt which only builds with ghc <9.10
229229
- if: matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
230230
name: Test hls-cabal-fmt-plugin test suite
231-
run: cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests
231+
run: cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests || cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests
232232

233233
- if: matrix.test && matrix.ghc != '9.12'
234234
name: Test hls-cabal-gild-plugin test suite
235-
run: cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests
235+
run: cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests || cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests
236236

237237
- if: matrix.test
238238
name: Test hls-cabal-plugin test suite
239-
run: cabal test hls-cabal-plugin-tests
239+
run: cabal test hls-cabal-plugin-tests || cabal test hls-cabal-plugin-tests
240240

241241
# TODO enable when it supports 9.10
242242
- if: matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
243243
name: Test hls-retrie-plugin test suite
244-
run: cabal test hls-retrie-plugin-tests
244+
run: cabal test hls-retrie-plugin-tests || cabal test hls-retrie-plugin-tests
245245

246246
- if: matrix.test
247247
name: Test hls-overloaded-record-dot-plugin test suite
248-
run: cabal test hls-overloaded-record-dot-plugin-tests
248+
run: cabal test hls-overloaded-record-dot-plugin-tests || cabal test hls-overloaded-record-dot-plugin-tests
249249

250250
- if: matrix.test
251251
name: Test hls-semantic-tokens-plugin test suite
252-
run: cabal test hls-semantic-tokens-plugin-tests
252+
run: cabal test hls-semantic-tokens-plugin-tests || cabal test hls-semantic-tokens-plugin-tests
253253

254254
- if: matrix.test
255255
name: Test hls-notes-plugin test suite
256-
run: cabal test hls-notes-plugin-tests
256+
run: cabal test hls-notes-plugin-tests || cabal test hls-notes-plugin-tests
257257

258258
# The plugin tutorial is only compatible with 9.6 and 9.8.
259259
# No particular reason, just to avoid excessive CPP.

0 commit comments

Comments
 (0)