Add MO to PYTHONPATH in lin-debian Azure job (#18959)

* Add MO

* Update .ci/azure/linux_debian.yml

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>

* Add MO reqs

* Fix deps

---------

Co-authored-by: Jan Iwaszkiewicz <jan.iwaszkiewicz@intel.com>
This commit is contained in:
Przemyslaw Wysocki 2023-08-03 12:36:03 +02:00 committed by GitHub
parent 3adb6d4cd2
commit 211c27d0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +138,7 @@ jobs:
$(TEST_VENV)/bin/python3 -m pip install -r $(REPO_DIR)/src/frontends/paddle/tests/requirements.txt $(TEST_VENV)/bin/python3 -m pip install -r $(REPO_DIR)/src/frontends/paddle/tests/requirements.txt
# for Python API tests # for Python API tests
/usr/bin/python3 -m pip install -r $(REPO_DIR)/src/bindings/python/requirements_test.txt /usr/bin/python3 -m pip install -r $(REPO_DIR)/src/bindings/python/requirements_test.txt
/usr/bin/python3 -m pip install -r $(REPO_DIR)/tools/mo/requirements.txt
/usr/bin/python3 -m pip uninstall -y numpy # apt-get install python3-numpy will be used /usr/bin/python3 -m pip uninstall -y numpy # apt-get install python3-numpy will be used
# Speed up build # Speed up build
sudo apt -y --no-install-recommends install unzip sudo apt -y --no-install-recommends install unzip
@ -360,7 +361,7 @@ jobs:
# - tests install dir for mock_py # - tests install dir for mock_py
LD_LIBRARY_PATH: $(INSTALL_TEST_DIR) LD_LIBRARY_PATH: $(INSTALL_TEST_DIR)
# For python imports to import pybind_mock_frontend # For python imports to import pybind_mock_frontend
PYTHONPATH: $(INSTALL_TEST_DIR) PYTHONPATH: $(INSTALL_TEST_DIR):$(REPO_DIR)/tools/mo/
displayName: 'Python API 2.0 Tests' displayName: 'Python API 2.0 Tests'
# Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time # Skip test_onnx/test_zoo_models and test_onnx/test_backend due to long execution time