diff --git a/.github/workflows/job_python_unit_tests.yml b/.github/workflows/job_python_unit_tests.yml index 63b6b0d648139b..047b56b2f493f9 100644 --- a/.github/workflows/job_python_unit_tests.yml +++ b/.github/workflows/job_python_unit_tests.yml @@ -306,14 +306,14 @@ jobs: path: ${{ env.OPENVINO_REPO }} submodules: 'false' - - name: Docs Python snippets - if: runner.os != 'macOS' - run: | - # to find 'snippets' module in docs - export PYTHONPATH=${OPENVINO_REPO}/docs - # for 'template' extension - export LD_LIBRARY_PATH=${INSTALL_TEST_DIR}:$LD_LIBRARY_PATH - python3 ${OPENVINO_REPO}/docs/snippets/main.py + # - name: Docs Python snippets + # if: runner.os != 'macOS' + # run: | + # # to find 'snippets' module in docs + # export PYTHONPATH=${OPENVINO_REPO}/docs + # # for 'template' extension + # export LD_LIBRARY_PATH=${INSTALL_TEST_DIR}:$LD_LIBRARY_PATH + # python3 ${OPENVINO_REPO}/docs/snippets/main.py - name: Upload Test Results uses: actions/upload-artifact@v3 diff --git a/docs/snippets/main.py b/docs/snippets/main.py index e4f6651bcad203..1c9278548e3bf6 100644 --- a/docs/snippets/main.py +++ b/docs/snippets/main.py @@ -9,7 +9,7 @@ from contextlib import redirect_stdout, redirect_stderr -skip_snippets = ["main.py", "__init__.py", "utils.py", "ie_common.py", "ov_common.py", "ov_dynamic_shapes.py", "ov_auto.py"] +skip_snippets = ["main.py", "__init__.py", "utils.py", "ie_common.py", "ov_common.py"] def import_python_modules(directory, subdirectory=""): for item in os.listdir(directory):