Skip to content

Commit 9494d58

Browse files
authored
[GHA] Enabled post commit triggers on mac (#29616)
### Details: - Enabled post commit triggers on mac for release branches only because nightly trigger works for master branch only ### Tickets: - *ticket-id*
1 parent f48a005 commit 9494d58

File tree

2 files changed

+20
-109
lines changed

2 files changed

+20
-109
lines changed

.github/workflows/mac.yml

Lines changed: 10 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
schedule:
55
# at 00:00 on workdays
66
- cron: '0 0 * * 1,2,3,4,5'
7+
push:
8+
paths-ignore:
9+
- '**/docs/**'
10+
- 'docs/**'
11+
- '**/**.md'
12+
- '**.md'
13+
- '**/layer_tests_summary/**'
14+
- '**/conformance/**'
15+
branches:
16+
- 'releases/**'
717
# pull_request:
818
# paths-ignore:
919
# - '**/docs/**'
@@ -12,17 +22,6 @@ on:
1222
# - '**.md'
1323
# - '**/layer_tests_summary/**'
1424
# - '**/conformance/**'
15-
# push:
16-
# paths-ignore:
17-
# - '**/docs/**'
18-
# - 'docs/**'
19-
# - '**/**.md'
20-
# - '**.md'
21-
# - '**/layer_tests_summary/**'
22-
# - '**/conformance/**'
23-
# branches:
24-
# - master
25-
# - 'releases/**'
2625

2726
concurrency:
2827
# github.ref is not unique in post-commit
@@ -330,93 +329,6 @@ jobs:
330329
runner: 'macos-13'
331330
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
332331

333-
JS_API:
334-
name: OpenVINO JS API
335-
needs: [ Build, Smart_CI ]
336-
if: fromJSON(needs.smart_ci.outputs.affected_components).JS_API
337-
uses: ./.github/workflows/job_openvino_js.yml
338-
with:
339-
runner: 'macos-13'
340-
341-
Openvino_tokenizers:
342-
name: OpenVINO tokenizers extension
343-
needs: [ Build, Smart_CI ]
344-
uses: ./.github/workflows/job_tokenizers.yml
345-
with:
346-
runner: 'macos-13'
347-
shell: bash
348-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
349-
python-version: '3.11'
350-
if: fromJSON(needs.smart_ci.outputs.affected_components).TOKENIZERS
351-
352-
CXX_Unit_Tests:
353-
name: C++ unit tests
354-
needs: [ Build, Smart_CI ]
355-
uses: ./.github/workflows/job_cxx_unit_tests.yml
356-
with:
357-
runner: 'macos-13'
358-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
359-
os: 'mac_13'
360-
361-
Python_API_Tests:
362-
name: Python API tests
363-
needs: [ Build, Smart_CI ]
364-
uses: ./.github/workflows/job_python_api_tests.yml
365-
strategy:
366-
fail-fast: false
367-
matrix:
368-
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
369-
with:
370-
runner: 'macos-13'
371-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
372-
python-version: ${{ matrix.python-version }}
373-
374-
Python_Unit_Tests:
375-
name: Python unit tests
376-
needs: [ Build, Smart_CI ]
377-
uses: ./.github/workflows/job_python_unit_tests.yml
378-
with:
379-
runner: 'macos-13'
380-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
381-
python-version: '3.11'
382-
383-
TensorFlow_Layer_Tests:
384-
name: TensorFlow Layer Tests
385-
needs: [ Build, Smart_CI, Openvino_tokenizers ]
386-
uses: ./.github/workflows/job_tensorflow_layer_tests.yml
387-
with:
388-
runner: 'macos-13'
389-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
390-
python-version: '3.11'
391-
392-
Pytorch_Layer_Tests:
393-
name: Pytorch Layer Tests
394-
needs: [ Build, Smart_CI ]
395-
uses: ./.github/workflows/job_pytorch_layer_tests.yml
396-
with:
397-
runner: 'macos-13'
398-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
399-
python-version: '3.11'
400-
401-
JAX_Layer_Tests:
402-
name: JAX Layer Tests
403-
needs: [ Build, Smart_CI ]
404-
uses: ./.github/workflows/job_jax_layer_tests.yml
405-
with:
406-
runner: 'macos-13'
407-
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
408-
python-version: '3.11'
409-
410-
CPU_Functional_Tests:
411-
name: CPU functional tests
412-
# if: fromJSON(needs.smart_ci.outputs.affected_components).CPU.test
413-
if: ${{ 'false' }} # Ticket: 122001
414-
needs: [ Build, Smart_CI ]
415-
uses: ./.github/workflows/job_cpu_functional_tests.yml
416-
with:
417-
runner: 'macos-13'
418-
python-version: '3.11'
419-
420332
upload_artifacts:
421333
name: Upload OpenVINO artifacts
422334
timeout-minutes: 10

.github/workflows/mac_arm64.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ on:
44
schedule:
55
# at 00:00 on workdays
66
- cron: '0 0 * * 1,2,3,4,5'
7+
push:
8+
paths-ignore:
9+
- '**/docs/**'
10+
- 'docs/**'
11+
- '**/**.md'
12+
- '**.md'
13+
- '**/layer_tests_summary/**'
14+
- '**/conformance/**'
15+
branches:
16+
- 'releases/**'
717
# pull_request:
818
# paths-ignore:
919
# - '**/docs/**'
@@ -12,17 +22,6 @@ on:
1222
# - '**.md'
1323
# - '**/layer_tests_summary/**'
1424
# - '**/conformance/**'
15-
# push:
16-
# paths-ignore:
17-
# - '**/docs/**'
18-
# - 'docs/**'
19-
# - '**/**.md'
20-
# - '**.md'
21-
# - '**/layer_tests_summary/**'
22-
# - '**/conformance/**'
23-
# branches:
24-
# - master
25-
# - 'releases/**'
2625

2726
concurrency:
2827
# github.ref is not unique in post-commit

0 commit comments

Comments
 (0)