Skip to content

Commit

Permalink
Fixed MO working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Dec 30, 2022
1 parent 35213da commit 482f716
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/mo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}-
Expand All @@ -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: |
Expand All @@ -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

0 comments on commit 482f716

Please sign in to comment.