Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[MERGE][GHA] Enabled post commit triggers on mac (#29616) (#29646)

Mikhail Ryzhov943c358064e0
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index 17a66cb84ea..0b45639308b 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -4,6 +4,16 @@ on:
schedule:
# at 00:00 on workdays
- cron: '0 0 * * 1,2,3,4,5'
+ push:
+ paths-ignore:
+ - '**/docs/**'
+ - 'docs/**'
+ - '**/**.md'
+ - '**.md'
+ - '**/layer_tests_summary/**'
+ - '**/conformance/**'
+ branches:
+ - 'releases/**'
# pull_request:
# paths-ignore:
# - '**/docs/**'
@@ -12,17 +22,6 @@ on:
# - '**.md'
# - '**/layer_tests_summary/**'
# - '**/conformance/**'
- # push:
- # paths-ignore:
- # - '**/docs/**'
- # - 'docs/**'
- # - '**/**.md'
- # - '**.md'
- # - '**/layer_tests_summary/**'
- # - '**/conformance/**'
- # branches:
- # - master
- # - 'releases/**'
concurrency:
# github.ref is not unique in post-commit
@@ -330,94 +329,6 @@ jobs:
runner: 'macos-13'
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- JS_API:
- name: OpenVINO JS API
- needs: [ Build, Smart_CI ]
- if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
- uses: ./.github/workflows/job_openvino_js.yml
- with:
- runner: 'macos-13'
-
- Openvino_tokenizers:
- name: OpenVINO tokenizers extension
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_tokenizers.yml
- with:
- runner: 'macos-13'
- shell: bash
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- python-version: '3.11'
- if: fromJSON(needs.smart_ci.outputs.affected_components).TOKENIZERS
-
- CXX_Unit_Tests:
- name: C++ unit tests
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_cxx_unit_tests.yml
- with:
- runner: 'macos-13'
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- os: 'mac_13'
-
- Python_API_Tests:
- name: Python API tests
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_python_api_tests.yml
- strategy:
- fail-fast: false
- matrix:
- python-version: [ '3.9', '3.10', '3.11', '3.12' ]
- with:
- runner: 'macos-13'
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- python-version: ${{ matrix.python-version }}
-
- Python_Unit_Tests:
- name: Python unit tests
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_python_unit_tests.yml
- with:
- runner: 'macos-13'
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- python-version: '3.11'
-
- TensorFlow_Layer_Tests:
- name: TensorFlow Layer Tests
- needs: [ Build, Smart_CI, Openvino_tokenizers ]
- uses: ./.github/workflows/job_tensorflow_layer_tests.yml
- with:
- runner: 'macos-13'
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- python-version: '3.11'
-
- Pytorch_Layer_Tests:
- name: Pytorch Layer Tests
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_pytorch_layer_tests.yml
- with:
- runner: 'macos-13'
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- python-version: '3.11'
-
- JAX_Layer_Tests:
- name: JAX Layer Tests
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_jax_layer_tests.yml
- with:
- runner: 'macos-13'
- affected-components: ${{ needs.smart_ci.outputs.affected_components }}
- python-version: '3.11'
-
- CPU_Functional_Tests:
- name: CPU functional tests
- # if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test
- if: ${{ 'false' }} # Ticket: 122001
- needs: [ Build, Smart_CI ]
- uses: ./.github/workflows/job_cpu_functional_tests.yml
- with:
- runner: 'macos-13'
- python-version: '3.11'
- scope: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) && 'nightly' || 'smoke' }}
-
upload_artifacts:
name: Upload OpenVINO artifacts
timeout-minutes: 10
diff --git a/.github/workflows/mac_arm64.yml b/.github/workflows/mac_arm64.yml
index 1cd5b0de85b..2436de06bca 100644
--- a/.github/workflows/mac_arm64.yml
+++ b/.github/workflows/mac_arm64.yml
@@ -4,6 +4,16 @@ on:
schedule:
# at 00:00 on workdays
- cron: '0 0 * * 1,2,3,4,5'
+ push:
+ paths-ignore:
+ - '**/docs/**'
+ - 'docs/**'
+ - '**/**.md'
+ - '**.md'
+ - '**/layer_tests_summary/**'
+ - '**/conformance/**'
+ branches:
+ - 'releases/**'
# pull_request:
# paths-ignore:
# - '**/docs/**'
@@ -12,17 +22,6 @@ on:
# - '**.md'
# - '**/layer_tests_summary/**'
# - '**/conformance/**'
- # push:
- # paths-ignore:
- # - '**/docs/**'
- # - 'docs/**'
- # - '**/**.md'
- # - '**.md'
- # - '**/layer_tests_summary/**'
- # - '**/conformance/**'
- # branches:
- # - master
- # - 'releases/**'
concurrency:
# github.ref is not unique in post-commit