diff --git a/.github/workflows/build-test-linux-x86_64.yml b/.github/workflows/build-test-linux-x86_64.yml index da3124c472..9a775a6170 100644 --- a/.github/workflows/build-test-linux-x86_64.yml +++ b/.github/workflows/build-test-linux-x86_64.yml @@ -81,6 +81,7 @@ jobs: L0-dynamo-converter-tests: name: L0 dynamo converter tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -109,6 +110,7 @@ jobs: L0-dynamo-core-tests: name: L0 dynamo core tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -140,6 +142,7 @@ jobs: L0-py-core-tests: name: L0 core python tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -168,6 +171,7 @@ jobs: L0-torchscript-tests: name: L0 torchscript tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -200,6 +204,7 @@ jobs: L1-dynamo-core-tests: name: L1 dynamo core tests needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -228,6 +233,7 @@ jobs: L1-dynamo-compile-tests: name: L1 dynamo compile tests needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -256,6 +262,7 @@ jobs: L1-torch-compile-tests: name: L1 torch compile tests needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -286,6 +293,7 @@ jobs: L1-torchscript-tests: name: L1 torch script tests needs: [filter-matrix, build, L0-dynamo-core-tests, L0-dynamo-converter-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -318,6 +326,7 @@ jobs: L2-torch-compile-tests: name: L2 torch compile tests needs: [filter-matrix, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -347,6 +356,7 @@ jobs: L2-dynamo-compile-tests: name: L2 dynamo compile tests needs: [filter-matrix, build, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torch-compile-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -376,6 +386,7 @@ jobs: L2-dynamo-core-tests: name: L2 dynamo core tests needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -404,6 +415,7 @@ jobs: L2-dynamo-plugin-tests: name: L2 dynamo plugin tests needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -432,6 +444,7 @@ jobs: L2-torchscript-tests: name: L2 torch script tests needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -464,6 +477,7 @@ jobs: L2-dynamo-distributed-tests: name: L2 dynamo distributed tests needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/build-test-linux-x86_64_rtx.yml b/.github/workflows/build-test-linux-x86_64_rtx.yml index 4c1901ee7c..4a8573cbe8 100644 --- a/.github/workflows/build-test-linux-x86_64_rtx.yml +++ b/.github/workflows/build-test-linux-x86_64_rtx.yml @@ -80,6 +80,7 @@ jobs: L0-dynamo-converter-tests: name: L0 dynamo converter tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -109,6 +110,7 @@ jobs: L0-dynamo-core-tests: name: L0 dynamo core tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -141,6 +143,7 @@ jobs: L0-py-core-tests: name: L0 core python tests needs: [filter-matrix, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -170,6 +173,7 @@ jobs: L1-dynamo-core-tests: name: L1 dynamo core tests needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -199,6 +203,7 @@ jobs: L1-dynamo-compile-tests: name: L1 dynamo compile tests needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -228,6 +233,7 @@ jobs: L1-torch-compile-tests: name: L1 torch compile tests needs: [filter-matrix, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -260,6 +266,7 @@ jobs: L2-torch-compile-tests: name: L2 torch compile tests needs: [filter-matrix, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -290,6 +297,7 @@ jobs: L2-dynamo-compile-tests: name: L2 dynamo compile tests needs: [filter-matrix, build, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torch-compile-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -320,6 +328,7 @@ jobs: L2-dynamo-core-tests: name: L2 dynamo core tests needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -349,6 +358,7 @@ jobs: L2-dynamo-plugin-tests: name: L2 dynamo plugin tests needs: [filter-matrix, build, L1-dynamo-core-tests, L1-dynamo-compile-tests, L1-torch-compile-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/build-test-windows.yml b/.github/workflows/build-test-windows.yml index 874d472fe2..0b7a76cbd7 100644 --- a/.github/workflows/build-test-windows.yml +++ b/.github/workflows/build-test-windows.yml @@ -88,6 +88,7 @@ jobs: L0-dynamo-converter-tests: name: L0 dynamo converter tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -113,6 +114,7 @@ jobs: L0-dynamo-core-tests: name: L0 dynamo core tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -140,6 +142,7 @@ jobs: L0-py-core-tests: name: L0 core python tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -165,6 +168,7 @@ jobs: L0-torchscript-tests: name: L0 torchscript tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -194,6 +198,7 @@ jobs: L1-dynamo-core-tests: name: L1 dynamo core tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -219,6 +224,7 @@ jobs: L1-dynamo-compile-tests: name: L1 dynamo compile tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -244,6 +250,7 @@ jobs: L1-torch-compile-tests: name: L1 torch compile tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -271,6 +278,7 @@ jobs: L1-torchscript-tests: name: L1 torchscript tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests, L0-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -300,6 +308,7 @@ jobs: L2-torch-compile-tests: name: L2 torch compile tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -326,6 +335,7 @@ jobs: L2-dynamo-compile-tests: name: L2 dynamo compile tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -352,6 +362,7 @@ jobs: L2-dynamo-core-tests: name: L2 dynamo core tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -377,6 +388,7 @@ jobs: L2-dynamo-plugin-tests: name: L2 dynamo plugin tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -402,6 +414,7 @@ jobs: L2-torchscript-tests: name: L2 torchscript tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests, L1-torchscript-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/build-test-windows_rtx.yml b/.github/workflows/build-test-windows_rtx.yml index d6aa3f5764..3ccfc1c294 100644 --- a/.github/workflows/build-test-windows_rtx.yml +++ b/.github/workflows/build-test-windows_rtx.yml @@ -90,6 +90,7 @@ jobs: L0-dynamo-converter-tests: name: L0 dynamo converter tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -116,6 +117,7 @@ jobs: L0-dynamo-core-tests: name: L0 dynamo core tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -144,6 +146,7 @@ jobs: L0-py-core-tests: name: L0 core python tests needs: [substitute-runner, build] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -167,11 +170,10 @@ jobs: ../../../packaging/vc_env_helper.bat python -m pytest -ra -n 8 --junitxml=${RUNNER_TEST_RESULTS_DIR}/l0_py_core_tests_results.xml . popd - - L1-dynamo-core-tests: name: L1 dynamo core tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -198,6 +200,7 @@ jobs: L1-dynamo-compile-tests: name: L1 dynamo compile tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -224,6 +227,7 @@ jobs: L1-torch-compile-tests: name: L1 torch compile tests needs: [substitute-runner, build, L0-dynamo-converter-tests, L0-dynamo-core-tests, L0-py-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -252,6 +256,7 @@ jobs: L2-torch-compile-tests: name: L2 torch compile tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -279,6 +284,7 @@ jobs: L2-dynamo-compile-tests: name: L2 dynamo compile tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -306,6 +312,7 @@ jobs: L2-dynamo-core-tests: name: L2 dynamo core tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: @@ -332,6 +339,7 @@ jobs: L2-dynamo-plugin-tests: name: L2 dynamo plugin tests needs: [substitute-runner, build, L1-torch-compile-tests, L1-dynamo-compile-tests, L1-dynamo-core-tests] + if: ${{ (github.ref_name == 'main' || github.ref_name == 'nightly' || contains(github.event.pull_request.labels.*.name, 'Force All Tests[L0+L1+L2]')) && always() || success() }} strategy: fail-fast: false matrix: