[GHA] Alternative way to handle required pipeline checks (#21164)
This commit is contained in:
parent
bb773137f1
commit
7931938ea4
15
.github/workflows/linux.yml
vendored
15
.github/workflows/linux.yml
vendored
@ -1569,3 +1569,18 @@ jobs:
|
||||
|
||||
- name: Show ccache stats
|
||||
run: ${SCCACHE_PATH} --show-stats
|
||||
|
||||
Overall_Status:
|
||||
name: ci/gha_linux
|
||||
needs: [Smart_CI, Build, Debian_Packages, Samples, Conformance, ONNX_Runtime, CXX_Unit_Tests, Python_Unit_Tests,
|
||||
CPU_Functional_Tests, TensorFlow_Hub_Models_Tests, PyTorch_Models_Tests, NVIDIA_Plugin]
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user