Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: precommit
permissions: read-all
# name: precommit
# permissions: read-all

on:
pull_request:
paths-ignore:
- '**/*.md'
- '.ci/*'
- 'docs/**/*'
- 'examples/**/*'
- 'licensing/*'
- 'tests/post_training/*' # post_training tests runs on Jenkins
- 'tests/cross_fw/examples/*' # examples tests runs in separate workflow
# on:
# pull_request:
# paths-ignore:
# - '**/*.md'
# - '.ci/*'
# - 'docs/**/*'
# - 'examples/**/*'
# - 'licensing/*'
# - 'tests/post_training/*' # post_training tests runs on Jenkins
# - 'tests/cross_fw/examples/*' # examples tests runs in separate workflow

concurrency:
group: precommit-${{ github.event.pull_request.number }}
cancel-in-progress: true
# concurrency:
# group: precommit-${{ github.event.pull_request.number }}
# cancel-in-progress: true

jobs:
pytest:
uses: ./.github/workflows/call_precommit.yml
with:
python_version: "3.10.14"
gpu_enabled: true
# jobs:
# pytest:
# uses: ./.github/workflows/call_precommit.yml
# with:
# python_version: "3.10.14"
# gpu_enabled: true
19 changes: 10 additions & 9 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,26 @@ on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'

pull_request:
jobs:
precommit:
if: github.repository_owner == 'openvinotoolkit'
strategy:
fail-fast: false
matrix:
include:
- python_version: "3.10"
override_requirements: "numpy==1.24.0"
- python_version: "3.11"
- python_version: "3.12"
- python_version: "3.13"
# - python_version: "3.10"
# override_requirements: "numpy==1.24.0"
# - python_version: "3.11"
# - python_version: "3.12"
# - python_version: "3.13"
- python_version: "3.14"
uses: ./.github/workflows/call_precommit.yml
with:
python_version: ${{ matrix.python_version }}
override_requirements: ${{ matrix.override_requirements || '' }}
gpu_enabled: false

macos:
if: github.repository_owner == 'openvinotoolkit'
uses: ./.github/workflows/macos.yml
# macos:
# if: github.repository_owner == 'openvinotoolkit'
# uses: ./.github/workflows/macos.yml
Loading