Skip to content
Open
Changes from 4 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
28 changes: 10 additions & 18 deletions .github/workflows/call_precommit_windows.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: call-precommit
name: call-precommit-windows
permissions: read-all

on:
pull_request:
Comment thread
AlexanderDokuchaev marked this conversation as resolved.
Outdated
workflow_call:
Comment thread
AlexanderDokuchaev marked this conversation as resolved.
inputs:
python_version:
Expand All @@ -14,13 +15,14 @@ on:
type: string
required: false

defaults:
run:
shell: bash

jobs:
common:
timeout-minutes: 40
runs-on: windows-2025
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand All @@ -30,8 +32,8 @@ jobs:
python-version: ${{ inputs.python_version }}
Comment thread
AlexanderDokuchaev marked this conversation as resolved.
- name: Override constraints
if: ${{ inputs.override_requirements != '' }}
run: python .github/scripts/override_constraints.py "${{ inputs.override_requirements }}"
shell: bash
run: |
python .github/scripts/override_constraints.py "${{ inputs.override_requirements }}"
- name: Install NNCF and test requirements
run: pip install . -r tests/common/requirements.txt
- name: Print installed modules
Expand All @@ -44,9 +46,6 @@ jobs:
onnx:
timeout-minutes: 40
runs-on: windows-2025-8-core
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand All @@ -57,7 +56,6 @@ jobs:
- name: Override constraints
if: ${{ inputs.override_requirements != '' }}
run: python .github/scripts/override_constraints.py "${{ inputs.override_requirements }}"
shell: bash
- name: Install NNCF and test requirements
run: pip install . -r tests/onnx/requirements.txt
- name: Print installed modules
Expand All @@ -70,9 +68,6 @@ jobs:
openvino:
timeout-minutes: 40
runs-on: windows-2025-8-core
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand All @@ -83,7 +78,6 @@ jobs:
- name: Override constraints
if: ${{ inputs.override_requirements != '' }}
run: python .github/scripts/override_constraints.py "${{ inputs.override_requirements }}"
shell: bash
- name: Install NNCF and test requirements
run: pip install . -r tests/openvino/requirements.txt
- name: Print installed modules
Expand All @@ -96,9 +90,8 @@ jobs:
pytorch-cpu:
timeout-minutes: 40
runs-on: windows-2025-8-core
defaults:
run:
shell: bash
env:
NNCF_EXTENSION_LOAD_TIMEOUT: 180
Comment thread
AlexanderDokuchaev marked this conversation as resolved.
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand All @@ -110,7 +103,6 @@ jobs:
- name: Override constraints
if: ${{ inputs.override_requirements != '' }}
run: python .github/scripts/override_constraints.py "${{ inputs.override_requirements }}"
shell: bash
- name: Install NNCF and test requirements
run: |
pip install . -r tests/torch/requirements.txt
Expand Down
Loading