From e8f8e4633be8f883425d61616191716c063ac660 Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Wed, 24 Jan 2024 14:44:26 +0100 Subject: [PATCH] Skip unstable stages for merge queue events (#22363) * Skip Windows CC for merge queue events * Skip Linux CC for merge queue events * Skip Windows for merge queue events * Skip Linux RiscV for merge queue events * Skip ONNX models tests for merge queue events * Skip CPU func tests for merge queue events * Skip CXX unit tests for merge queue events --- .github/workflows/job_cpu_functional_tests.yml | 1 + .github/workflows/job_cxx_unit_tests.yml | 1 + .github/workflows/job_onnx_models_tests.yml | 1 + .github/workflows/linux_conditional_compilation.yml | 2 +- .github/workflows/linux_riscv.yml | 2 +- .github/workflows/windows.yml | 2 +- .github/workflows/windows_conditional_compilation.yml | 2 +- 7 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/job_cpu_functional_tests.yml b/.github/workflows/job_cpu_functional_tests.yml index 32ddfeea9ca594..eea94a62bb46c8 100644 --- a/.github/workflows/job_cpu_functional_tests.yml +++ b/.github/workflows/job_cpu_functional_tests.yml @@ -29,6 +29,7 @@ jobs: INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests PARALLEL_TEST_SCRIPT: ${{ github.workspace }}/install/tests/functional_test_utils/layer_tests_summary/run_parallel.py PARALLEL_TEST_CACHE: ${{ github.workspace }}/install/tests/test_cache.lst + if: ${{ github.event_name != 'merge_group' }} steps: - name: Download OpenVINO package uses: actions/download-artifact@v3 diff --git a/.github/workflows/job_cxx_unit_tests.yml b/.github/workflows/job_cxx_unit_tests.yml index 6f2ee3e2e80af8..519ff962b6793f 100644 --- a/.github/workflows/job_cxx_unit_tests.yml +++ b/.github/workflows/job_cxx_unit_tests.yml @@ -31,6 +31,7 @@ jobs: DEBIAN_FRONTEND: noninteractive # to prevent apt-get from waiting user input INSTALL_DIR: ${{ github.workspace }}/install INSTALL_TEST_DIR: ${{ github.workspace }}/install/tests + if: ${{ github.event_name != 'merge_group' }} steps: - name: Download OpenVINO package uses: actions/download-artifact@v3 diff --git a/.github/workflows/job_onnx_models_tests.yml b/.github/workflows/job_onnx_models_tests.yml index 07d8d12d48a386..25fce51699cd10 100644 --- a/.github/workflows/job_onnx_models_tests.yml +++ b/.github/workflows/job_onnx_models_tests.yml @@ -30,6 +30,7 @@ jobs: ONNX_MODELS_PATH: ${{ github.workspace }}/onnx_test_models MODELS_SHARE_PATH: "/mount/onnxtestdata" ONNX_MODEL_ZOO_SHA: "d58213534f2a4d1c4b19ba62b3bb5f544353256e" + if: ${{ github.event_name != 'merge_group' }} steps: - name: Download OpenVINO package uses: actions/download-artifact@v3 diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml index a8bf33fda1f915..54d41e7ed4d549 100644 --- a/.github/workflows/linux_conditional_compilation.yml +++ b/.github/workflows/linux_conditional_compilation.yml @@ -69,7 +69,7 @@ jobs: SELECTIVE_BUILD_STAT_DIR: /__w/openvino/openvino/selective_build_stat MODELS_PATH: /__w/openvino/openvino/testdata SCCACHE_AZURE_KEY_PREFIX: ubuntu22_x86_64_itt_clang_Release - if: "!needs.smart_ci.outputs.skip_workflow" + if: ${{ !needs.smart_ci.outputs.skip_workflow && github.event_name != 'merge_group' }} steps: - name: Install git diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml index ff8fa44c0c7ab0..ac417045f734e6 100644 --- a/.github/workflows/linux_riscv.yml +++ b/.github/workflows/linux_riscv.yml @@ -63,7 +63,7 @@ jobs: CCACHE_DIR: /mount/caches/ccache/ubuntu22_riscv64_master_release CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp CCACHE_MAXSIZE: 50G - if: "!needs.smart_ci.outputs.skip_workflow" + if: ${{ !needs.smart_ci.outputs.skip_workflow && github.event_name != 'merge_group' }} steps: - name: Install git run: apt-get update && apt-get install --assume-yes --no-install-recommends git ca-certificates diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6665014c46a34a..ecb6d8e7a49f44 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -62,7 +62,7 @@ jobs: BUILD_DIR: "${{ github.workspace }}\\openvino_build" # TODO: specify version of compiler here SCCACHE_AZURE_KEY_PREFIX: windows2022_x86_64_Release - if: "!needs.smart_ci.outputs.skip_workflow" + if: ${{ !needs.smart_ci.outputs.skip_workflow && github.event_name != 'merge_group' }} steps: - name: Clone OpenVINO diff --git a/.github/workflows/windows_conditional_compilation.yml b/.github/workflows/windows_conditional_compilation.yml index ba6a18077d0ee4..7b7b02f464ccee 100644 --- a/.github/workflows/windows_conditional_compilation.yml +++ b/.github/workflows/windows_conditional_compilation.yml @@ -65,7 +65,7 @@ jobs: SELECTIVE_BUILD_STAT_DIR: "${{ github.workspace }}\\selective_build_stat" # TODO: specify version of compiler here SCCACHE_AZURE_KEY_PREFIX: windows2022_x86_64_itt_Release - if: "!needs.smart_ci.outputs.skip_workflow" + if: ${{ !needs.smart_ci.outputs.skip_workflow && github.event_name != 'merge_group' }} steps: - name: Clone OpenVINO