diff --git a/.github/workflows/call_precommit_windows.yml b/.github/workflows/call_precommit_windows.yml index 96965de6022..83180d61898 100644 --- a/.github/workflows/call_precommit_windows.yml +++ b/.github/workflows/call_precommit_windows.yml @@ -1,4 +1,4 @@ -name: call-precommit +name: call-precommit-windows permissions: read-all on: @@ -14,13 +14,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: @@ -31,7 +32,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/common/requirements.txt - name: Print installed modules @@ -44,9 +44,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: @@ -57,7 +54,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 @@ -70,9 +66,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: @@ -83,7 +76,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 @@ -96,9 +88,8 @@ jobs: pytorch-cpu: timeout-minutes: 40 runs-on: windows-2025-8-core - defaults: - run: - shell: bash + env: + NNCF_EXTENSION_LOAD_TIMEOUT: 180 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: @@ -110,7 +101,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