Skip to content

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

Use caching `pip` network proxy in Python Layer Tests dependencies install on Windows (#34376)

Andrey Babushkinef6bca04d70b
diff --git a/.github/workflows/job_pytorch_layer_tests.yml b/.github/workflows/job_pytorch_layer_tests.yml
index 4d23b2b6d09..414c988bfc4 100644
--- a/.github/workflows/job_pytorch_layer_tests.yml
+++ b/.github/workflows/job_pytorch_layer_tests.yml
@@ -107,7 +107,15 @@ jobs:
wheels-dir-path: ${{ env.INSTALL_DIR }}
wheels-to-install: 'openvino'
+ - name: Install Pytorch Layer tests dependencies (Windows)
+ if: runner.os == 'Windows'
+ env:
+ PIP_INDEX_URL: "http://pip-proxy.pip-proxy.svc.cluster.local/simple/"
+ PIP_TRUSTED_HOST: "pip-proxy.pip-proxy.svc.cluster.local"
+ run: ${{ env.PIP_INSTALL_COMMAND }} --no-cache-dir -r ${{ env.INSTALL_TEST_DIR }}/requirements_pytorch
+
- name: Install Pytorch Layer tests dependencies
+ if: runner.os != 'Windows'
run: |
# pytorch test requirements
${{ env.PIP_INSTALL_COMMAND }} -r ${{ env.INSTALL_TEST_DIR }}/requirements_pytorch