forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OVC pylint fix (openvinotoolkit#22558)
* Test change. * PyLint fix. * Small fix. * Separated MO and OVC workflows. * Corrected ovc workflow. * Fixed error. * Fixed error. * PyLint fix. * PyLint fix. * Removed not needed change. * Temporarily removed changes from OVC. * Returned changes. * Returned changes. * Added merge_group. * Update tools/ovc/openvino/tools/ovc/moc_frontend/pytorch_frontend_utils.py Co-authored-by: Roman Kazantsev <[email protected]> --------- Co-authored-by: Roman Kazantsev <[email protected]>
- Loading branch information
Showing
7 changed files
with
64 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: OVC | ||
on: | ||
merge_group: | ||
push: | ||
paths: | ||
- 'tools/ovc/**' | ||
- '.github/workflows/ovc.yml' | ||
branches: | ||
- 'master' | ||
- 'releases/**' | ||
pull_request: | ||
paths: | ||
- 'tools/ovc/**' | ||
- '.github/workflows/ovc.yml' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
Pylint-UT: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Clone OpenVINO | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Cache pip | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pip | ||
key: ${{ runner.os }}-pip-${{ hashFiles('src/bindings/python/requirements*.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-pip- | ||
${{ runner.os }}- | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
# For UT | ||
pip install unittest-xml-reporting==3.0.2 | ||
pip install pylint>=2.7.0 | ||
pip install pyenchant>=3.0.0 | ||
pip install -r requirements.txt | ||
working-directory: src/bindings/python/ | ||
|
||
- name: Pylint-OVC | ||
run: pylint -d C,R,W openvino/tools/ovc | ||
working-directory: tools/ovc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters