diff --git a/.github/workflows/mo.yml b/.github/workflows/mo.yml index e32acd0d346958..66426fcca9d34c 100644 --- a/.github/workflows/mo.yml +++ b/.github/workflows/mo.yml @@ -2,14 +2,14 @@ name: MO on: push: paths: - - 'openvino/tools/mo/**' + - 'tools/mo/**' - '.github/workflows/mo.yml' branches: - 'master' - 'releases/**' pull_request: paths: - - 'openvino/tools/mo/**' + - 'tools/mo/**' - '.github/workflows/mo.yml' concurrency: @@ -33,7 +33,7 @@ jobs: uses: actions/cache@v1 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('openvino/tools/mo/requirements*.txt') }} + key: ${{ runner.os }}-pip-${{ hashFiles('tools/mo/requirements*.txt') }} restore-keys: | ${{ runner.os }}-pip- ${{ runner.os }}- @@ -49,17 +49,14 @@ jobs: # MO requirements pip install -r requirements.txt pip install -r requirements_dev.txt - # requrements for CMake - sudo apt update - sudo apt --assume-yes install libusb-1.0-0-dev - working-directory: openvino/tools/mo + working-directory: tools/mo - name: Pylint - run: pylint -d C,R,W openvino/tools/mo/ openvino/tools/mo/mo.py - working-directory: openvino/tools/mo + run: pylint -d C,R,W openvino/tools/mo + working-directory: tools/mo - name: CMake configure - run: cmake -B build + run: cmake -DENABLE_INTEL_MYRIAD_COMMON=OFF -B build - name: UT run: | @@ -68,4 +65,4 @@ jobs: env mkdir ../mo-ut-logs python3 -m xmlrunner discover -p *_test.py --output=../mo-ut-logs - working-directory: openvino/tools/mo + working-directory: tools/mo