|
81 | 81 | L0-dynamo-converter-tests: |
82 | 82 | name: L0 dynamo converter tests |
83 | 83 | needs: [filter-matrix, build] |
| 84 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
84 | 85 | strategy: |
85 | 86 | fail-fast: false |
86 | 87 | matrix: |
@@ -200,6 +201,7 @@ jobs: |
200 | 201 | L1-dynamo-core-tests: |
201 | 202 | name: L1 dynamo core tests |
202 | 203 | needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] |
| 204 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
203 | 205 | strategy: |
204 | 206 | fail-fast: false |
205 | 207 | matrix: |
@@ -228,6 +230,7 @@ jobs: |
228 | 230 | L1-dynamo-compile-tests: |
229 | 231 | name: L1 dynamo compile tests |
230 | 232 | needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] |
| 233 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
231 | 234 | strategy: |
232 | 235 | fail-fast: false |
233 | 236 | matrix: |
@@ -256,6 +259,7 @@ jobs: |
256 | 259 | L1-torch-compile-tests: |
257 | 260 | name: L1 torch compile tests |
258 | 261 | needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] |
| 262 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
259 | 263 | strategy: |
260 | 264 | fail-fast: false |
261 | 265 | matrix: |
@@ -286,6 +290,7 @@ jobs: |
286 | 290 | L1-torchscript-tests: |
287 | 291 | name: L1 torch script tests |
288 | 292 | needs: [filter-matrix, build, L0-dynamo-core-tests, L0-dynamo-converter-tests, L0-py-core-tests, L0-torchscript-tests] |
| 293 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
289 | 294 | strategy: |
290 | 295 | fail-fast: false |
291 | 296 | matrix: |
@@ -318,6 +323,7 @@ jobs: |
318 | 323 | L2-torch-compile-tests: |
319 | 324 | name: L2 torch compile tests |
320 | 325 | needs: [filter-matrix, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] |
| 326 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
321 | 327 | strategy: |
322 | 328 | fail-fast: false |
323 | 329 | matrix: |
@@ -347,6 +353,7 @@ jobs: |
347 | 353 | L2-dynamo-compile-tests: |
348 | 354 | name: L2 dynamo compile tests |
349 | 355 | needs: [filter-matrix, build, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 356 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
350 | 357 | strategy: |
351 | 358 | fail-fast: false |
352 | 359 | matrix: |
@@ -376,6 +383,7 @@ jobs: |
376 | 383 | L2-dynamo-core-tests: |
377 | 384 | name: L2 dynamo core tests |
378 | 385 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 386 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
379 | 387 | strategy: |
380 | 388 | fail-fast: false |
381 | 389 | matrix: |
@@ -404,6 +412,7 @@ jobs: |
404 | 412 | L2-dynamo-plugin-tests: |
405 | 413 | name: L2 dynamo plugin tests |
406 | 414 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 415 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
407 | 416 | strategy: |
408 | 417 | fail-fast: false |
409 | 418 | matrix: |
@@ -432,6 +441,7 @@ jobs: |
432 | 441 | L2-torchscript-tests: |
433 | 442 | name: L2 torch script tests |
434 | 443 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 444 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
435 | 445 | strategy: |
436 | 446 | fail-fast: false |
437 | 447 | matrix: |
@@ -464,6 +474,7 @@ jobs: |
464 | 474 | L2-dynamo-distributed-tests: |
465 | 475 | name: L2 dynamo distributed tests |
466 | 476 | needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] |
| 477 | + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} |
467 | 478 | strategy: |
468 | 479 | fail-fast: false |
469 | 480 | matrix: |
|
0 commit comments