Skip to content

Commit c40b842

Browse files
authored
add overall status jobs (#919)
1 parent 7be7327 commit c40b842

File tree

3 files changed

+43
-7
lines changed

3 files changed

+43
-7
lines changed

.github/workflows/linux.yml

+14-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@ name: Linux (Ubuntu 20.04, Python 3.11)
22
on:
33
workflow_dispatch:
44
pull_request:
5-
paths-ignore:
6-
- 'modules/nvidia_plugin'
7-
- 'modules/openvino_code'
85
push:
96
branches:
107
- master
118
- 'releases/**'
12-
paths-ignore:
13-
- 'modules/nvidia_plugin'
14-
- 'modules/openvino_code'
159

1610
concurrency:
1711
# github.ref is not unique in post-commit
@@ -331,3 +325,17 @@ jobs:
331325
332326
- name: Show ccache stats
333327
run: ccache --show-stats
328+
329+
Overall_Status:
330+
name: ci/gha_overall_status_linux
331+
needs: [ Build_and_test, NVIDIA_Plugin ]
332+
if: ${{ always() }}
333+
runs-on: ubuntu-latest
334+
steps:
335+
- name: Check status of all jobs
336+
if: >-
337+
${{
338+
contains(needs.*.result, 'failure') ||
339+
contains(needs.*.result, 'cancelled')
340+
}}
341+
run: exit 1

.github/workflows/mac.yml

+14
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,17 @@ jobs:
147147
name: test-results-java
148148
path: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api/build/test-results
149149
if-no-files-found: 'warn'
150+
151+
Overall_Status:
152+
name: ci/gha_overall_status_mac
153+
needs: [ Build_and_test ]
154+
if: ${{ always() }}
155+
runs-on: ubuntu-latest
156+
steps:
157+
- name: Check status of all jobs
158+
if: >-
159+
${{
160+
contains(needs.*.result, 'failure') ||
161+
contains(needs.*.result, 'cancelled')
162+
}}
163+
run: exit 1

.github/workflows/windows.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,18 @@ jobs:
189189
with:
190190
name: test-results-java
191191
path: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api/build/test-results
192-
if-no-files-found: 'warn'
192+
if-no-files-found: 'warn'
193+
194+
Overall_Status:
195+
name: ci/gha_overall_status_windows
196+
needs: [ Build_and_test ]
197+
if: ${{ always() }}
198+
runs-on: ubuntu-latest
199+
steps:
200+
- name: Check status of all jobs
201+
if: >-
202+
${{
203+
contains(needs.*.result, 'failure') ||
204+
contains(needs.*.result, 'cancelled')
205+
}}
206+
run: exit 1

0 commit comments

Comments
 (0)