[GHA] Removed dependency on git repo in python tests (#20390)

* Removed repo deps in py tests

* fixed typo

* changed test cmd

* add test_utils to pythonpath

* set test_utils to LD_LIBRARY_PATH

* changed path

* changed path

* source python site-packages

* fixed LD_LIBRARY_PATH

* print pip dir

* changed python install path

* source all openvino dir

* isolate test_utils

* system deps

* reordered deps

* dep conflict

* tests reorder

* changed test_utils path

* cpack test dir

* rebase fix

* fixed env

* frontend tests fix

* removed already installed reqs

* debug

* debug 2

* added python action path

* test

* reset 3rdparties

* set pip install path globally

* reset 3rdparties

* removed parallel code

* moved doc snippets

* switched back 4-core runner

* removed global unused vars

* removed unused requirements.txt

* removed unused requirements

* test

* Revert "test"

This reverts commit bdf22d22fd6ec5d488930bc362bdb0741c5bea76.
This commit is contained in:
Mikhail Ryzhov authored and GitHub committed 2023-10-25 20:16:01 +00:00
1 parent 214e08599b
commit 49c5099f5e
5 files changed
+141 -125

No files matched your search

+8
View File
@@ -403,6 +403,14 @@ endif()
if(ENABLE_TESTS)
add_subdirectory(tests/mock/mock_py_frontend)
add_subdirectory(tests/mock/pyngraph_fe_mock_api)
install(FILES constraints.txt
DESTINATION tests/bindings/python
COMPONENT tests
EXCLUDE_FROM_ALL)
install(FILES src/openvino/preprocess/torchvision/requirements.txt
DESTINATION tests/python/preprocess/torchvision
COMPONENT tests
EXCLUDE_FROM_ALL)
endif()
if(OpenVINODeveloperPackage_FOUND)
@@ -50,10 +50,10 @@ ov_add_clang_format_target(${TARGET_NAME}_clang FOR_TARGETS ${TARGET_NAME}
install(TARGETS ${TARGET_NAME}
RUNTIME DESTINATION ${OV_CPACK_PYTHONDIR}/openvino/test_utils
COMPONENT tests EXCLUDE_FROM_ALL
LIBRARY DESTINATION ${OV_CPACK_PYTHONDIR}/openvino/test_utils
LIBRARY DESTINATION tests/${OV_CPACK_PYTHONDIR}/openvino/test_utils
COMPONENT tests EXCLUDE_FROM_ALL)
install(PROGRAMS ${OpenVINOPython_SOURCE_DIR}/src/openvino/test_utils/__init__.py
DESTINATION ${OV_CPACK_PYTHONDIR}/openvino/test_utils
DESTINATION tests/${OV_CPACK_PYTHONDIR}/openvino/test_utils
COMPONENT tests
EXCLUDE_FROM_ALL)