@@ -114,18 +114,18 @@ jobs:
114
114
- if : needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
115
115
name : Test ghcide
116
116
# run the tests without parallelism to avoid running out of memory
117
- run : cabal test ghcide-tests || cabal test ghcide-tests
117
+ run : cabal test ghcide-tests
118
118
119
119
- if : matrix.test
120
120
name : Test hls-plugin-api
121
- run : cabal test hls-plugin-api || cabal test hls-plugin-api
121
+ run : cabal test hls-plugin-api
122
122
123
123
- if : matrix.test
124
124
name : Test func-test suite
125
125
env :
126
126
HLS_TEST_EXE : hls
127
127
HLS_WRAPPER_TEST_EXE : hls-wrapper
128
- run : cabal test func-test || cabal test func-test
128
+ run : cabal test func-test
129
129
130
130
- if : matrix.test
131
131
name : Test wrapper-test suite
@@ -136,124 +136,124 @@ jobs:
136
136
137
137
- if : matrix.test
138
138
name : Test hls-refactor-plugin
139
- run : cabal test hls-refactor-plugin-tests || cabal test hls-refactor-plugin-tests
139
+ run : cabal test hls-refactor-plugin-tests
140
140
141
141
# TODO enable when it supports 9.10
142
142
- if : matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
143
143
name : Test hls-floskell-plugin
144
- run : cabal test hls-floskell-plugin-tests || cabal test hls-floskell-plugin-tests
144
+ run : cabal test hls-floskell-plugin-tests
145
145
146
146
- if : matrix.test
147
147
name : Test hls-class-plugin
148
- run : cabal test hls-class-plugin-tests || cabal test hls-class-plugin-tests
148
+ run : cabal test hls-class-plugin-tests
149
149
150
150
- if : matrix.test
151
151
name : Test hls-pragmas-plugin
152
- run : cabal test hls-pragmas-plugin-tests || cabal test hls-pragmas-plugin-tests
152
+ run : cabal test hls-pragmas-plugin-tests
153
153
154
154
- if : matrix.test
155
155
name : Test hls-eval-plugin
156
- run : cabal test hls-eval-plugin-tests || cabal test hls-eval-plugin-tests
156
+ run : cabal test hls-eval-plugin-tests
157
157
158
158
# TODO enable when it supports 9.10
159
159
- if : matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
160
160
name : Test hls-splice-plugin
161
- run : cabal test hls-splice-plugin-tests || cabal test hls-splice-plugin-tests
161
+ run : cabal test hls-splice-plugin-tests
162
162
163
163
- if : matrix.test && matrix.ghc != '9.12'
164
164
name : Test hls-stan-plugin
165
- run : cabal test hls-stan-plugin-tests || cabal test hls-stan-plugin-tests
165
+ run : cabal test hls-stan-plugin-tests
166
166
167
167
- if : matrix.test
168
168
name : Test hls-stylish-haskell-plugin
169
- run : cabal test hls-stylish-haskell-plugin-tests || cabal test hls-stylish-haskell-plugin-tests
169
+ run : cabal test hls-stylish-haskell-plugin-tests
170
170
171
171
- if : matrix.test
172
172
name : Test hls-ormolu-plugin
173
- run : cabal test hls-ormolu-plugin-tests || cabal test hls-ormolu-plugin-tests
173
+ run : cabal test hls-ormolu-plugin-tests
174
174
175
175
- if : matrix.test
176
176
name : Test hls-fourmolu-plugin
177
- run : cabal test hls-fourmolu-plugin-tests || cabal test hls-fourmolu-plugin-tests
177
+ run : cabal test hls-fourmolu-plugin-tests
178
178
179
179
- if : matrix.test
180
180
name : Test hls-explicit-imports-plugin test suite
181
- run : cabal test hls-explicit-imports-plugin-tests || cabal test hls-explicit-imports-plugin-tests
181
+ run : cabal test hls-explicit-imports-plugin-tests
182
182
183
183
- if : matrix.test
184
184
name : Test hls-call-hierarchy-plugin test suite
185
- run : cabal test hls-call-hierarchy-plugin-tests || cabal test hls-call-hierarchy-plugin-tests
185
+ run : cabal test hls-call-hierarchy-plugin-tests
186
186
187
187
- if : matrix.test && matrix.os != 'windows-latest'
188
188
name : Test hls-rename-plugin test suite
189
- run : cabal test hls-rename-plugin-tests || cabal test hls-rename-plugin-tests
189
+ run : cabal test hls-rename-plugin-tests
190
190
191
191
# TODO enable when it supports 9.10
192
192
- if : matrix.test && matrix.ghc != '9.10'
193
193
name : Test hls-hlint-plugin test suite
194
- run : cabal test hls-hlint-plugin-tests || cabal test hls-hlint-plugin-tests
194
+ run : cabal test hls-hlint-plugin-tests
195
195
196
196
- if : matrix.test
197
197
name : Test hls-module-name-plugin test suite
198
- run : cabal test hls-module-name-plugin-tests || cabal test hls-module-name-plugin-tests
198
+ run : cabal test hls-module-name-plugin-tests
199
199
200
200
- if : matrix.test
201
201
name : Test hls-alternate-number-format-plugin test suite
202
- run : cabal test hls-alternate-number-format-plugin-tests || cabal test hls-alternate-number-format-plugin-tests
202
+ run : cabal test hls-alternate-number-format-plugin-tests
203
203
204
204
- if : matrix.test
205
205
name : Test hls-qualify-imported-names-plugin test suite
206
- run : cabal test hls-qualify-imported-names-plugin-tests || cabal test hls-qualify-imported-names-plugin-tests
206
+ run : cabal test hls-qualify-imported-names-plugin-tests
207
207
208
208
- if : matrix.test
209
209
name : Test hls-code-range-plugin test suite
210
- run : cabal test hls-code-range-plugin-tests || cabal test hls-code-range-plugin-tests
210
+ run : cabal test hls-code-range-plugin-tests
211
211
212
212
- if : matrix.test
213
213
name : Test hls-change-type-signature test suite
214
- run : cabal test hls-change-type-signature-plugin-tests || cabal test hls-change-type-signature-plugin-tests
214
+ run : cabal test hls-change-type-signature-plugin-tests
215
215
216
216
- if : matrix.test
217
217
name : Test hls-gadt-plugin test suit
218
- run : cabal test hls-gadt-plugin-tests || cabal test hls-gadt-plugin-tests
218
+ run : cabal test hls-gadt-plugin-tests
219
219
220
220
- if : matrix.test
221
221
name : Test hls-explicit-fixity-plugin test suite
222
- run : cabal test hls-explicit-fixity-plugin-tests || cabal test hls-explicit-fixity-plugin-tests
222
+ run : cabal test hls-explicit-fixity-plugin-tests
223
223
224
224
- if : matrix.test
225
225
name : Test hls-explicit-record-fields-plugin test suite
226
- run : cabal test hls-explicit-record-fields-plugin-tests || cabal test hls-explicit-record-fields-plugin-tests
226
+ run : cabal test hls-explicit-record-fields-plugin-tests
227
227
228
228
# versions need to be limited since the tests depend on cabal-fmt which only builds with ghc <9.10
229
229
- if : matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
230
230
name : Test hls-cabal-fmt-plugin test suite
231
- run : cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests || cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests
231
+ run : cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests
232
232
233
233
- if : matrix.test && matrix.ghc != '9.12'
234
234
name : Test hls-cabal-gild-plugin test suite
235
- run : cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests || cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests
235
+ run : cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests
236
236
237
237
- if : matrix.test
238
238
name : Test hls-cabal-plugin test suite
239
- run : cabal test hls-cabal-plugin-tests || cabal test hls-cabal-plugin-tests
239
+ run : cabal test hls-cabal-plugin-tests
240
240
241
241
# TODO enable when it supports 9.10
242
242
- if : matrix.test && matrix.ghc != '9.10' && matrix.ghc != '9.12'
243
243
name : Test hls-retrie-plugin test suite
244
- run : cabal test hls-retrie-plugin-tests || cabal test hls-retrie-plugin-tests
244
+ run : cabal test hls-retrie-plugin-tests
245
245
246
246
- if : matrix.test
247
247
name : Test hls-overloaded-record-dot-plugin test suite
248
- run : cabal test hls-overloaded-record-dot-plugin-tests || cabal test hls-overloaded-record-dot-plugin-tests
248
+ run : cabal test hls-overloaded-record-dot-plugin-tests
249
249
250
250
- if : matrix.test
251
251
name : Test hls-semantic-tokens-plugin test suite
252
- run : cabal test hls-semantic-tokens-plugin-tests || cabal test hls-semantic-tokens-plugin-tests
252
+ run : cabal test hls-semantic-tokens-plugin-tests
253
253
254
254
- if : matrix.test
255
255
name : Test hls-notes-plugin test suite
256
- run : cabal test hls-notes-plugin-tests || cabal test hls-notes-plugin-tests
256
+ run : cabal test hls-notes-plugin-tests
257
257
258
258
# The plugin tutorial is only compatible with 9.6 and 9.8.
259
259
# No particular reason, just to avoid excessive CPP.
0 commit comments