|
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:
|
@@ -112,139 +112,144 @@ jobs:
|
112 | 112 |
|
113 | 113 | - if: matrix.test
|
114 | 114 | name: Test hls-graph
|
115 |
| - run: cabal test hls-graph |
| 115 | + run: cabal test hls-graph |
116 | 116 |
|
117 | 117 | - if: needs.pre_job.outputs.should_skip_ghcide != 'true' && matrix.test
|
118 | 118 | name: Test ghcide
|
119 | 119 | # run the tests without parallelism to avoid running out of memory
|
120 |
| - run: cabal test ghcide || cabal test ghcide |
| 120 | + run: cabal test ghcide || cabal test ghcide |
121 | 121 |
|
122 | 122 | - if: matrix.test
|
123 | 123 | name: Test hls-plugin-api
|
124 |
| - run: cabal test hls-plugin-api || cabal test hls-plugin-api |
| 124 | + run: cabal test hls-plugin-api || cabal test hls-plugin-api |
125 | 125 |
|
126 | 126 | - if: matrix.test
|
127 | 127 | name: Test func-test suite
|
128 | 128 | env:
|
129 | 129 | HLS_TEST_EXE: hls
|
130 | 130 | HLS_WRAPPER_TEST_EXE: hls-wrapper
|
131 |
| - run: cabal test func-test || cabal test func-test |
| 131 | + run: cabal test func-test || cabal test func-test |
132 | 132 |
|
133 | 133 | - if: matrix.test
|
134 | 134 | name: Test wrapper-test suite
|
135 | 135 | env:
|
136 | 136 | HLS_TEST_EXE: hls
|
137 | 137 | HLS_WRAPPER_TEST_EXE: hls-wrapper
|
138 |
| - run: cabal test wrapper-test |
| 138 | + run: cabal test wrapper-test |
139 | 139 |
|
140 | 140 | - if: matrix.test
|
141 | 141 | name: Test hls-refactor-plugin
|
142 |
| - 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 |
143 | 143 |
|
144 |
| - - if: matrix.test |
| 144 | + - if: matrix.test |
145 | 145 | name: Test hls-floskell-plugin
|
146 |
| - 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 |
147 | 147 |
|
148 | 148 | - if: matrix.test
|
149 | 149 | name: Test hls-class-plugin
|
150 |
| - 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 |
151 | 151 |
|
152 | 152 | - if: matrix.test
|
153 | 153 | name: Test hls-pragmas-plugin
|
154 |
| - 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 |
155 | 155 |
|
156 | 156 | - if: matrix.test
|
157 | 157 | name: Test hls-eval-plugin
|
158 |
| - 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 |
159 | 159 |
|
160 | 160 | - if: matrix.test
|
161 | 161 | name: Test hls-splice-plugin
|
162 |
| - 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 |
163 | 163 |
|
164 | 164 | - if: matrix.test && matrix.ghc != '9.2'
|
165 | 165 | name: Test hls-stan-plugin
|
166 |
| - 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 |
167 | 167 |
|
168 | 168 | - if: matrix.test
|
169 | 169 | name: Test hls-stylish-haskell-plugin
|
170 |
| - 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 |
171 | 171 |
|
172 |
| - - if: matrix.test |
| 172 | + - if: matrix.test |
173 | 173 | name: Test hls-ormolu-plugin
|
174 |
| - 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 |
175 | 175 |
|
176 |
| - - if: matrix.test |
| 176 | + - if: matrix.test |
177 | 177 | name: Test hls-fourmolu-plugin
|
178 |
| - 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 |
179 | 179 |
|
180 | 180 | - if: matrix.test
|
181 | 181 | name: Test hls-explicit-imports-plugin test suite
|
182 |
| - 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 |
183 | 183 |
|
184 | 184 | - if: matrix.test
|
185 | 185 | name: Test hls-call-hierarchy-plugin test suite
|
186 |
| - 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 |
187 | 187 |
|
188 | 188 | - if: matrix.test && matrix.os != 'windows-latest'
|
189 | 189 | name: Test hls-rename-plugin test suite
|
190 |
| - 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 |
191 | 191 |
|
192 |
| - - if: matrix.test |
| 192 | + - if: matrix.test |
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 || 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 || 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 || 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 || 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 || 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 || 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 || 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 || 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 || cabal test hls-explicit-record-fields-plugin-tests |
227 | 227 |
|
228 | 228 | ## version needs to be limited since the tests depend on cabal-fmt which only builds using specific ghc versions
|
229 | 229 | - if: matrix.test && matrix.ghc == '9.2'
|
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 || cabal test hls-cabal-fmt-plugin-tests --flag=isolateCabalfmtTests |
| 232 | + |
| 233 | + ## version needs to be limited since the tests depend on cabal-gild which only builds using specific ghc versions |
| 234 | + - if: matrix.test && matrix.ghc == '9.2' |
| 235 | + name: Test hls-cabal-gild-plugin test suite |
| 236 | + run: cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests || cabal test hls-cabal-gild-plugin-tests --flag=isolateCabalGildTests |
232 | 237 |
|
233 | 238 | - if: matrix.test
|
234 | 239 | name: Test hls-cabal-plugin test suite
|
235 |
| - run: cabal test hls-cabal-plugin-tests || cabal test hls-cabal-plugin-tests |
| 240 | + run: cabal test hls-cabal-plugin-tests || cabal test hls-cabal-plugin-tests |
236 | 241 |
|
237 | 242 | - if: matrix.test
|
238 | 243 | name: Test hls-retrie-plugin test suite
|
239 |
| - run: cabal test hls-retrie-plugin-tests || cabal test hls-retrie-plugin-tests |
| 244 | + run: cabal test hls-retrie-plugin-tests || cabal test hls-retrie-plugin-tests |
240 | 245 |
|
241 | 246 | - if: matrix.test
|
242 | 247 | name: Test hls-overloaded-record-dot-plugin test suite
|
243 |
| - 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 || cabal test hls-overloaded-record-dot-plugin-tests |
244 | 249 |
|
245 | 250 | - if: matrix.test
|
246 | 251 | name: Test hls-semantic-tokens-plugin test suite
|
247 |
| - run: cabal test hls-semantic-tokens-plugin-tests || cabal test hls-semantic-tokens-plugin-tests |
| 252 | + run: cabal test hls-semantic-tokens-plugin-tests || cabal test hls-semantic-tokens-plugin-tests |
248 | 253 |
|
249 | 254 |
|
250 | 255 | test_post_job:
|
|
0 commit comments