Fix precommit #332
Workflow file for this run
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
name: Accuracy checker Python3.7 | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
cache: pip | |
- name: Pip install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tools/accuracy_checker openvino -r tools/accuracy_checker/requirements-test.in | |
- name: python -m pytest tools/accuracy_checker | |
run: | | |
python -m pytest tools/accuracy_checker | |
- name: Pip install and run pylint | |
working-directory: ./tools/accuracy_checker | |
run: | | |
python -m pip install pylint==2.10.2 | |
PYTHONPATH=. python -m pylint --rcfile=.pylintrc `find -wholename '?*/**/*.py' -not -path "./tests/*" -not -path "./build/*"` |