|
16 | 16 | outputs: |
17 | 17 | python: ${{ steps.filter.outputs.python }} |
18 | 18 | client: ${{ steps.filter.outputs.client }} |
| 19 | + vscode: ${{ steps.filter.outputs.vscode }} |
19 | 20 | ci: ${{ steps.filter.outputs.ci }} |
20 | 21 | steps: |
21 | 22 | - uses: actions/checkout@v7 |
|
34 | 35 | - 'pyproject.toml' |
35 | 36 | client: |
36 | 37 | - 'web/client/**' |
| 38 | + vscode: |
| 39 | + - 'vscode/**' |
37 | 40 | ci: |
38 | 41 | - '.github/**' |
39 | 42 | - 'Makefile' |
@@ -188,9 +191,10 @@ jobs: |
188 | 191 |
|
189 | 192 | ui-style: |
190 | 193 | needs: [changes] |
191 | | - if: false |
192 | | - # needs.changes.outputs.client == 'true' || needs.changes.outputs.ci == |
193 | | - # 'true' || github.ref == 'refs/heads/main' |
| 194 | + if: |
| 195 | + needs.changes.outputs.client == 'true' || needs.changes.outputs.vscode == |
| 196 | + 'true' || needs.changes.outputs.ci == 'true' || github.ref == |
| 197 | + 'refs/heads/main' |
194 | 198 | runs-on: ubuntu-latest |
195 | 199 | steps: |
196 | 200 | - uses: actions/checkout@v7 |
@@ -252,7 +256,17 @@ jobs: |
252 | 256 | fail-fast: false |
253 | 257 | matrix: |
254 | 258 | engine: |
255 | | - [duckdb, postgres, mysql, mssql, trino, spark, clickhouse, risingwave, starrocks] |
| 259 | + [ |
| 260 | + duckdb, |
| 261 | + postgres, |
| 262 | + mysql, |
| 263 | + mssql, |
| 264 | + trino, |
| 265 | + spark, |
| 266 | + clickhouse, |
| 267 | + risingwave, |
| 268 | + starrocks, |
| 269 | + ] |
256 | 270 | env: |
257 | 271 | PYTEST_XDIST_AUTO_NUM_WORKERS: 2 |
258 | 272 | SQLMESH__DISABLE_ANONYMIZED_ANALYTICS: '1' |
@@ -393,10 +407,13 @@ jobs: |
393 | 407 | retention-days: 7 |
394 | 408 |
|
395 | 409 | test-vscode: |
| 410 | + needs: changes |
| 411 | + if: |
| 412 | + needs.changes.outputs.vscode == 'true' || needs.changes.outputs.ci == |
| 413 | + 'true' || github.ref == 'refs/heads/main' |
396 | 414 | env: |
397 | 415 | PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 |
398 | 416 | runs-on: ubuntu-latest |
399 | | - if: false |
400 | 417 | steps: |
401 | 418 | - uses: actions/checkout@v7 |
402 | 419 | - uses: actions/setup-node@v7 |
@@ -457,7 +474,19 @@ jobs: |
457 | 474 | strategy: |
458 | 475 | fail-fast: false |
459 | 476 | matrix: |
460 | | - dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10', '1.11', '1.12'] |
| 477 | + dbt-version: |
| 478 | + [ |
| 479 | + '1.3', |
| 480 | + '1.4', |
| 481 | + '1.5', |
| 482 | + '1.6', |
| 483 | + '1.7', |
| 484 | + '1.8', |
| 485 | + '1.9', |
| 486 | + '1.10', |
| 487 | + '1.11', |
| 488 | + '1.12', |
| 489 | + ] |
461 | 490 | steps: |
462 | 491 | - uses: actions/checkout@v7 |
463 | 492 | - name: Set up Python |
|
0 commit comments