Skip to content

[CI] [GHA] Check new PR required checks #9709

[CI] [GHA] Check new PR required checks

[CI] [GHA] Check new PR required checks #9709

Workflow file for this run

name: treon
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
- 'latest'
paths:
- 'notebooks/**.ipynb'
- 'notebooks/**.py'
- 'requirements.txt'
- '.ci/*'
- '.github/workflows/*.yml'
- '.github/workflows/.env'
push:
branches:
- 'main'
- 'latest'
paths:
- 'notebooks/**.ipynb'
- 'notebooks/**.py'
- 'requirements.txt'
- '.ci/*'
- '.github/workflows/*.yml'
- '.github/workflows/.env'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
env:
OV_BRANCH: 'master'
jobs:
get_docker_tag:
runs-on: ubuntu-latest
outputs:
docker_tag: ${{ steps.get_docker_tag.outputs.docker_tag }}
steps:
- name: Clone docker tag from OpenVINO repo
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
repository: 'openvinotoolkit/openvino'
path: 'openvino'
ref: ${{ env.OV_BRANCH }}
sparse-checkout: |
.github/dockerfiles/docker_tag
- name: Save docker tag to output
id: get_docker_tag
run: |
docker_tag=$(cat openvino/.github/dockerfiles/docker_tag)
echo "docker_tag=$docker_tag" >> $GITHUB_OUTPUT
build_treon_linux:
needs: get_docker_tag
strategy:
fail-fast: false
matrix:
runs_on: [aks-linux-8-cores-32gb]
python: ['3.10', '3.11', '3.12', '3.13']
uses: ./.github/workflows/job_unix.yml
with:
runs_on: ${{ matrix.runs_on }}
python: ${{ matrix.python }}
container: 'openvinogithubactions.azurecr.io/ov_build/ubuntu_22_04_x64:${{ needs.get_docker_tag.outputs.docker_tag }}'
test_only_changed: true
build_treon_windows:
strategy:
fail-fast: false
matrix:
runs_on: [aks-win-16-cores-32gb-full]
python: ['3.10', '3.11', '3.12', '3.13']
uses: ./.github/workflows/job_windows.yml
with:
runs_on: ${{ matrix.runs_on }}
python: ${{ matrix.python }}
test_only_changed: true
Overall_Status:
name: ci/gha_overall_status_precommit
needs: [get_docker_tag, build_treon_linux, build_treon_windows]
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