|
82 | 82 | L0-dynamo-converter-tests: |
83 | 83 | name: L0 dynamo converter tests |
84 | 84 | needs: [filter-matrix, build] |
| 85 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
85 | 86 | strategy: |
86 | 87 | fail-fast: false |
87 | 88 | matrix: |
@@ -110,6 +111,7 @@ jobs: |
110 | 111 | L0-dynamo-core-tests: |
111 | 112 | name: L0 dynamo core tests |
112 | 113 | needs: [filter-matrix, build] |
| 114 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
113 | 115 | strategy: |
114 | 116 | fail-fast: false |
115 | 117 | matrix: |
@@ -141,6 +143,7 @@ jobs: |
141 | 143 | L0-py-core-tests: |
142 | 144 | name: L0 core python tests |
143 | 145 | needs: [filter-matrix, build] |
| 146 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
144 | 147 | strategy: |
145 | 148 | fail-fast: false |
146 | 149 | matrix: |
@@ -169,6 +172,7 @@ jobs: |
169 | 172 | L0-torchscript-tests: |
170 | 173 | name: L0 torchscript tests |
171 | 174 | needs: [filter-matrix, build] |
| 175 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
172 | 176 | strategy: |
173 | 177 | fail-fast: false |
174 | 178 | matrix: |
@@ -201,6 +205,7 @@ jobs: |
201 | 205 | L1-dynamo-core-tests: |
202 | 206 | name: L1 dynamo core tests |
203 | 207 | needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] |
| 208 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
204 | 209 | strategy: |
205 | 210 | fail-fast: false |
206 | 211 | matrix: |
@@ -229,6 +234,7 @@ jobs: |
229 | 234 | L1-dynamo-compile-tests: |
230 | 235 | name: L1 dynamo compile tests |
231 | 236 | needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] |
| 237 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
232 | 238 | strategy: |
233 | 239 | fail-fast: false |
234 | 240 | matrix: |
@@ -257,6 +263,7 @@ jobs: |
257 | 263 | L1-torch-compile-tests: |
258 | 264 | name: L1 torch compile tests |
259 | 265 | needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] |
| 266 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
260 | 267 | strategy: |
261 | 268 | fail-fast: false |
262 | 269 | matrix: |
@@ -287,6 +294,7 @@ jobs: |
287 | 294 | L1-torchscript-tests: |
288 | 295 | name: L1 torch script tests |
289 | 296 | needs: [filter-matrix, build, L0-dynamo-core-tests, L0-dynamo-converter-tests, L0-py-core-tests, L0-torchscript-tests] |
| 297 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
290 | 298 | strategy: |
291 | 299 | fail-fast: false |
292 | 300 | matrix: |
@@ -319,6 +327,7 @@ jobs: |
319 | 327 | L2-torch-compile-tests: |
320 | 328 | name: L2 torch compile tests |
321 | 329 | needs: [filter-matrix, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] |
| 330 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
322 | 331 | strategy: |
323 | 332 | fail-fast: false |
324 | 333 | matrix: |
@@ -348,6 +357,7 @@ jobs: |
348 | 357 | L2-dynamo-compile-tests: |
349 | 358 | name: L2 dynamo compile tests |
350 | 359 | needs: [filter-matrix, build, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 360 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
351 | 361 | strategy: |
352 | 362 | fail-fast: false |
353 | 363 | matrix: |
@@ -377,6 +387,7 @@ jobs: |
377 | 387 | L2-dynamo-core-tests: |
378 | 388 | name: L2 dynamo core tests |
379 | 389 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 390 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
380 | 391 | strategy: |
381 | 392 | fail-fast: false |
382 | 393 | matrix: |
@@ -405,6 +416,7 @@ jobs: |
405 | 416 | L2-dynamo-plugin-tests: |
406 | 417 | name: L2 dynamo plugin tests |
407 | 418 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 419 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
408 | 420 | strategy: |
409 | 421 | fail-fast: false |
410 | 422 | matrix: |
@@ -433,6 +445,7 @@ jobs: |
433 | 445 | L2-torchscript-tests: |
434 | 446 | name: L2 torch script tests |
435 | 447 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 448 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
436 | 449 | strategy: |
437 | 450 | fail-fast: false |
438 | 451 | matrix: |
@@ -465,6 +478,7 @@ jobs: |
465 | 478 | L2-dynamo-distributed-tests: |
466 | 479 | name: L2 dynamo distributed tests |
467 | 480 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 481 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
468 | 482 | strategy: |
469 | 483 | fail-fast: false |
470 | 484 | matrix: |
|
0 commit comments