74
74
- ubuntu-latest
75
75
- macOS-latest
76
76
- windows-latest
77
- test :
77
+ test :
78
78
- true
79
79
- false
80
80
exclude :
93
93
test : false
94
94
95
95
steps :
96
- - if : matrix.test && matrix.os == 'ubuntu-latest'
97
- name : Free Disk Space (Ubuntu)
98
- uses : jlumbroso/free-disk-space@v1.3.1
99
- with :
100
- # this might remove tools that are actually needed,
101
- # if set to "true" but frees about 6 GB
102
- tool-cache : false
103
-
104
- # all of these default to true, but feel free to set to
105
- # "false" if necessary for your workflow
106
- android : true
107
- dotnet : true
108
- haskell : true
109
- large-packages : true
110
- docker-images : true
111
- swap-storage : true
112
-
113
96
- uses : actions/checkout@v3
114
97
115
98
- uses : ./.github/actions/setup-build
@@ -129,139 +112,139 @@ jobs:
129
112
130
113
- if : matrix.test
131
114
name : Test hls-graph
132
- run : cabal test hls-graph
115
+ run : cabal test hls-graph
133
116
134
117
- if : needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
135
118
name : Test ghcide
136
119
# run the tests without parallelism to avoid running out of memory
137
- run : cabal test ghcide || cabal test ghcide
120
+ run : cabal test ghcide || cabal test ghcide
138
121
139
122
- if : matrix.test
140
123
name : Test hls-plugin-api
141
- run : cabal test hls-plugin-api || cabal test hls-plugin-api
124
+ run : cabal test hls-plugin-api || cabal test hls-plugin-api
142
125
143
126
- if : matrix.test
144
127
name : Test func-test suite
145
128
env :
146
129
HLS_TEST_EXE : hls
147
130
HLS_WRAPPER_TEST_EXE : hls-wrapper
148
- run : cabal test func-test || cabal test func-test
131
+ run : cabal test func-test || cabal test func-test
149
132
150
133
- if : matrix.test
151
134
name : Test wrapper-test suite
152
135
env :
153
136
HLS_TEST_EXE : hls
154
137
HLS_WRAPPER_TEST_EXE : hls-wrapper
155
- run : cabal test wrapper-test
138
+ run : cabal test wrapper-test
156
139
157
140
- if : matrix.test
158
141
name : Test hls-refactor-plugin
159
- run : cabal test hls-refactor-plugin-tests || cabal test hls-refactor-plugin-tests
142
+ run : cabal test hls-refactor-plugin-tests || cabal test hls-refactor-plugin-tests
160
143
161
- - if : matrix.test
144
+ - if : matrix.test
162
145
name : Test hls-floskell-plugin
163
- run : cabal test hls-floskell-plugin-tests || cabal test hls-floskell-plugin-tests
146
+ run : cabal test hls-floskell-plugin-tests || cabal test hls-floskell-plugin-tests
164
147
165
148
- if : matrix.test
166
149
name : Test hls-class-plugin
167
- run : cabal test hls-class-plugin-tests || cabal test hls-class-plugin-tests
150
+ run : cabal test hls-class-plugin-tests || cabal test hls-class-plugin-tests
168
151
169
152
- if : matrix.test
170
153
name : Test hls-pragmas-plugin
171
- run : cabal test hls-pragmas-plugin-tests || cabal test hls-pragmas-plugin-tests
154
+ run : cabal test hls-pragmas-plugin-tests || cabal test hls-pragmas-plugin-tests
172
155
173
156
- if : matrix.test
174
157
name : Test hls-eval-plugin
175
- run : cabal test hls-eval-plugin-tests || cabal test hls-eval-plugin-tests
158
+ run : cabal test hls-eval-plugin-tests || cabal test hls-eval-plugin-tests
176
159
177
160
- if : matrix.test
178
161
name : Test hls-splice-plugin
179
- run : cabal test hls-splice-plugin-tests || cabal test hls-splice-plugin-tests
162
+ run : cabal test hls-splice-plugin-tests || cabal test hls-splice-plugin-tests
180
163
181
164
- if : matrix.test && matrix.ghc != '9.2'
182
165
name : Test hls-stan-plugin
183
- run : cabal test hls-stan-plugin-tests || cabal test hls-stan-plugin-tests
166
+ run : cabal test hls-stan-plugin-tests || cabal test hls-stan-plugin-tests
184
167
185
168
- if : matrix.test
186
169
name : Test hls-stylish-haskell-plugin
187
- run : cabal test hls-stylish-haskell-plugin-tests || cabal test hls-stylish-haskell-plugin-tests
170
+ run : cabal test hls-stylish-haskell-plugin-tests || cabal test hls-stylish-haskell-plugin-tests
188
171
189
- - if : matrix.test
172
+ - if : matrix.test
190
173
name : Test hls-ormolu-plugin
191
- run : cabal test hls-ormolu-plugin-tests || cabal test hls-ormolu-plugin-tests
174
+ run : cabal test hls-ormolu-plugin-tests || cabal test hls-ormolu-plugin-tests
192
175
193
- - if : matrix.test
176
+ - if : matrix.test
194
177
name : Test hls-fourmolu-plugin
195
- run : cabal test hls-fourmolu-plugin-tests || cabal test hls-fourmolu-plugin-tests
178
+ run : cabal test hls-fourmolu-plugin-tests || cabal test hls-fourmolu-plugin-tests
196
179
197
180
- if : matrix.test
198
181
name : Test hls-explicit-imports-plugin test suite
199
- run : cabal test hls-explicit-imports-plugin-tests || cabal test hls-explicit-imports-plugin-tests
182
+ run : cabal test hls-explicit-imports-plugin-tests || cabal test hls-explicit-imports-plugin-tests
200
183
201
184
- if : matrix.test
202
185
name : Test hls-call-hierarchy-plugin test suite
203
- run : cabal test hls-call-hierarchy-plugin-tests || cabal test hls-call-hierarchy-plugin-tests
186
+ run : cabal test hls-call-hierarchy-plugin-tests || cabal test hls-call-hierarchy-plugin-tests
204
187
205
188
- if : matrix.test && matrix.os != 'windows-latest'
206
189
name : Test hls-rename-plugin test suite
207
- run : cabal test hls-rename-plugin-tests || cabal test hls-rename-plugin-tests
190
+ run : cabal test hls-rename-plugin-tests || cabal test hls-rename-plugin-tests
208
191
209
- - if : matrix.test
192
+ - if : matrix.test
210
193
name : Test hls-hlint-plugin test suite
211
- run : cabal test hls-hlint-plugin-tests || cabal test hls-hlint-plugin-tests
194
+ run : cabal test hls-hlint-plugin-tests || cabal test hls-hlint-plugin-tests
212
195
213
196
- if : matrix.test
214
197
name : Test hls-module-name-plugin test suite
215
- run : cabal test hls-module-name-plugin-tests || cabal test hls-module-name-plugin-tests
198
+ run : cabal test hls-module-name-plugin-tests || cabal test hls-module-name-plugin-tests
216
199
217
200
- if : matrix.test
218
201
name : Test hls-alternate-number-format-plugin test suite
219
- 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 || cabal test hls-alternate-number-format-plugin-tests
220
203
221
204
- if : matrix.test
222
205
name : Test hls-qualify-imported-names-plugin test suite
223
- 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 || cabal test hls-qualify-imported-names-plugin-tests
224
207
225
208
- if : matrix.test
226
209
name : Test hls-code-range-plugin test suite
227
- run : cabal test hls-code-range-plugin-tests || cabal test hls-code-range-plugin-tests
210
+ run : cabal test hls-code-range-plugin-tests || cabal test hls-code-range-plugin-tests
228
211
229
212
- if : matrix.test
230
213
name : Test hls-change-type-signature test suite
231
- 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 || cabal test hls-change-type-signature-plugin-tests
232
215
233
216
- if : matrix.test
234
217
name : Test hls-gadt-plugin test suit
235
- run : cabal test hls-gadt-plugin-tests || cabal test hls-gadt-plugin-tests
218
+ run : cabal test hls-gadt-plugin-tests || cabal test hls-gadt-plugin-tests
236
219
237
220
- if : matrix.test
238
221
name : Test hls-explicit-fixity-plugin test suite
239
- run : cabal test hls-explicit-fixity-plugin-tests || cabal test hls-explicit-fixity-plugin-tests
222
+ run : cabal test hls-explicit-fixity-plugin-tests || cabal test hls-explicit-fixity-plugin-tests
240
223
241
224
- if : matrix.test
242
225
name : Test hls-explicit-record-fields-plugin test suite
243
- 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 || cabal test hls-explicit-record-fields-plugin-tests
244
227
245
228
# # version needs to be limited since the tests depend on cabal-fmt which only builds using specific ghc versions
246
229
- if : matrix.test && matrix.ghc == '9.2'
247
230
name : Test hls-cabal-fmt-plugin test suite
248
- 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 || cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests
249
232
250
233
- if : matrix.test
251
234
name : Test hls-cabal-plugin test suite
252
- run : cabal test hls-cabal-plugin-tests || cabal test hls-cabal-plugin-tests
235
+ run : cabal test hls-cabal-plugin-tests || cabal test hls-cabal-plugin-tests
253
236
254
237
- if : matrix.test
255
238
name : Test hls-retrie-plugin test suite
256
- run : cabal test hls-retrie-plugin-tests || cabal test hls-retrie-plugin-tests
239
+ run : cabal test hls-retrie-plugin-tests || cabal test hls-retrie-plugin-tests
257
240
258
241
- if : matrix.test
259
242
name : Test hls-overloaded-record-dot-plugin test suite
260
- run : cabal test hls-overloaded-record-dot-plugin-tests || cabal test hls-overloaded-record-dot-plugin-tests
243
+ run : cabal test hls-overloaded-record-dot-plugin-tests || cabal test hls-overloaded-record-dot-plugin-tests
261
244
262
245
- if : matrix.test
263
246
name : Test hls-semantic-tokens-plugin test suite
264
- run : cabal test hls-semantic-tokens-plugin-tests || cabal test hls-semantic-tokens-plugin-tests
247
+ run : cabal test hls-semantic-tokens-plugin-tests || cabal test hls-semantic-tokens-plugin-tests
265
248
266
249
267
250
test_post_job :
0 commit comments