Skip to content

Commit

Permalink
add overall status jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
akashchi committed May 27, 2024
1 parent 3926428 commit eb4e1d7
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 7 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@ name: Linux (Ubuntu 20.04, Python 3.11)
on:
workflow_dispatch:
pull_request:
paths-ignore:
- 'modules/nvidia_plugin'
- 'modules/openvino_code'
push:
branches:
- master
- 'releases/**'
paths-ignore:
- 'modules/nvidia_plugin'
- 'modules/openvino_code'

concurrency:
# github.ref is not unique in post-commit
Expand Down Expand Up @@ -331,3 +325,17 @@ jobs:
- name: Show ccache stats
run: ccache --show-stats

Overall_Status:
name: ci/gha_overall_status_linux
needs: [ Build_and_test, 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
14 changes: 14 additions & 0 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,17 @@ jobs:
name: test-results-java
path: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api/build/test-results
if-no-files-found: 'warn'

Overall_Status:
name: ci/gha_overall_status_mac
needs: [ Build_and_test ]
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
16 changes: 15 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,18 @@ jobs:
with:
name: test-results-java
path: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/java_api/build/test-results
if-no-files-found: 'warn'
if-no-files-found: 'warn'

Overall_Status:
name: ci/gha_overall_status_windows
needs: [ Build_and_test ]
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

0 comments on commit eb4e1d7

Please sign in to comment.