From 926a0591ffc108ed6ebd84e1ac76e1f6ba842c11 Mon Sep 17 00:00:00 2001 From: Alina Kladieva Date: Wed, 13 Dec 2023 22:43:42 +0100 Subject: [PATCH] Add overall status check to more workflows (#21644) --- .github/workflows/android_arm64.yml | 14 ++++++++++++++ .github/workflows/fedora.yml | 14 ++++++++++++++ .github/workflows/linux_arm64.yml | 2 +- .../workflows/linux_conditional_compilation.yml | 14 ++++++++++++++ .github/workflows/linux_riscv.yml | 14 ++++++++++++++ 5 files changed, 57 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android_arm64.yml b/.github/workflows/android_arm64.yml index 3ea263098c58cb..33f9c7c97b56e5 100644 --- a/.github/workflows/android_arm64.yml +++ b/.github/workflows/android_arm64.yml @@ -169,3 +169,17 @@ jobs: - name: Show ccache stats run: ${SCCACHE_PATH} --show-stats + + Overall_Status: + name: ci/gha_overall_status_android + needs: [Smart_CI, Build] + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Check status of all jobs + if: >- + ${{ + contains(needs.*.result, 'failure') || + contains(needs.*.result, 'cancelled') + }} + run: exit 1 diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index 2eab09e0dfb81c..19d32ef74e07c9 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -242,3 +242,17 @@ jobs: python3 -c 'from openvino.frontend import FrontEndManager; assert len(FrontEndManager().get_available_front_ends()) == 6' benchmark_app --help ovc --help + + Overall_Status: + name: ci/gha_overall_status_fedora + needs: [Smart_CI, Build, RPM_Packages] + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Check status of all jobs + if: >- + ${{ + contains(needs.*.result, 'failure') || + contains(needs.*.result, 'cancelled') + }} + run: exit 1 diff --git a/.github/workflows/linux_arm64.yml b/.github/workflows/linux_arm64.yml index 6000198c95ccac..1b485611d91dec 100644 --- a/.github/workflows/linux_arm64.yml +++ b/.github/workflows/linux_arm64.yml @@ -346,7 +346,7 @@ jobs: event: ${{ github.event_name }} Overall_Status: - name: ci/gha_overall_status + name: ci/gha_overall_status_linux_arm64 needs: [Smart_CI, Build, Debian_Packages, Samples, ONNX_Runtime, CXX_Unit_Tests, Python_Unit_Tests, CPU_Functional_Tests, TensorFlow_Hub_Models_Tests, TensorFlow_Hub_Performance_Models_Tests, PyTorch_Models_Tests] if: ${{ always() }} diff --git a/.github/workflows/linux_conditional_compilation.yml b/.github/workflows/linux_conditional_compilation.yml index 942b36f4790684..cf69a3e0f51ba9 100644 --- a/.github/workflows/linux_conditional_compilation.yml +++ b/.github/workflows/linux_conditional_compilation.yml @@ -332,3 +332,17 @@ jobs: with: runner: 'aks-linux-8-cores-32gb' image: 'openvinogithubactions.azurecr.io/dockerhub/ubuntu:22.04' + + Overall_Status: + name: ci/gha_overall_status_linux_cc + needs: [Smart_CI, Build, CC_Build, CPU_Functional_Tests] + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Check status of all jobs + if: >- + ${{ + contains(needs.*.result, 'failure') || + contains(needs.*.result, 'cancelled') + }} + run: exit 1 diff --git a/.github/workflows/linux_riscv.yml b/.github/workflows/linux_riscv.yml index b9f68e1c49f16a..5db7ed22a02707 100644 --- a/.github/workflows/linux_riscv.yml +++ b/.github/workflows/linux_riscv.yml @@ -206,3 +206,17 @@ jobs: source ${OPENVINO_BUILD_DIR}/dependencies/deactivate_conanbuild.sh env: CMAKE_TOOLCHAIN_FILE: ${{ env.OPENVINO_BUILD_DIR }}/dependencies/conan_toolchain.cmake + + Overall_Status: + name: ci/gha_overall_status_linux_riscv + needs: [Smart_CI, Build] + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Check status of all jobs + if: >- + ${{ + contains(needs.*.result, 'failure') || + contains(needs.*.result, 'cancelled') + }} + run: exit 1