Skip to content

Commit 920606b

Browse files
authored
Added extra spaces (#3665)
1 parent e75d8ae commit 920606b

File tree

2 files changed

+57
-57
lines changed

2 files changed

+57
-57
lines changed

.github/workflows/accuracy_checker-pytest.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ jobs:
1313
runs-on: ubuntu-20.04
1414

1515
steps:
16-
- uses: actions/checkout@v3
17-
- name: Set up Python 3.8
18-
uses: actions/setup-python@v3
19-
with:
20-
python-version: "3.8"
21-
- name: Pip install dependencies
22-
run: |
23-
python -m pip install --upgrade pip
24-
python -m pip install --no-deps -r ci/requirements-ac-test.txt
25-
python -m pip install --no-deps tools/accuracy_checker
26-
- name: python -m pytest tools/accuracy_checker
27-
run: |
28-
python -m pytest tools/accuracy_checker
29-
- name: Pip install and run pylint
30-
working-directory: ./tools/accuracy_checker
31-
run: |
32-
python -m pip install pylint==2.10.2
33-
PYTHONPATH=. python -m pylint --rcfile=.pylintrc `find -wholename '?*/**/*.py' -not -path "./tests/*" -not -path "./build/*"`
16+
- uses: actions/checkout@v3
17+
- name: Set up Python 3.8
18+
uses: actions/setup-python@v3
19+
with:
20+
python-version: "3.8"
21+
- name: Pip install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install --no-deps -r ci/requirements-ac-test.txt
25+
python -m pip install --no-deps tools/accuracy_checker
26+
- name: python -m pytest tools/accuracy_checker
27+
run: |
28+
python -m pytest tools/accuracy_checker
29+
- name: Pip install and run pylint
30+
working-directory: ./tools/accuracy_checker
31+
run: |
32+
python -m pip install pylint==2.10.2
33+
PYTHONPATH=. python -m pylint --rcfile=.pylintrc `find -wholename '?*/**/*.py' -not -path "./tests/*" -not -path "./build/*"`

.github/workflows/build_demos.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,42 +13,42 @@ jobs:
1313
runs-on: ubuntu-20.04
1414

1515
steps:
16-
- uses: actions/checkout@v3
17-
with:
18-
submodules: recursive
19-
- name: Set up Python 3.8
20-
uses: actions/setup-python@v3
21-
with:
22-
python-version: "3.8"
23-
- name: python -m pip install --upgrade pip && python -m pip install numpy
24-
run: |
25-
python -m pip install --upgrade pip
26-
python -m pip install numpy
27-
- name: Download OpenVINO
28-
run: |
29-
wget https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3/linux/l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64.tgz
30-
tar xf l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64.tgz
31-
sudo l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/install_dependencies/install_openvino_dependencies.sh
32-
- name: Cache OpenCV
33-
id: opencv-cache
34-
uses: actions/cache@v3
35-
with:
36-
path: ${{ github.workspace }}/opencv
37-
key: ${{ runner.os }}-opencv-cache
38-
- if: ${{ steps.opencv-cache.outputs.cache-hit != 'true' }}
39-
name: Checlout OpenCV
40-
uses: actions/checkout@v3
41-
with:
42-
repository: opencv/opencv
43-
path: opencv
44-
- if: ${{ steps.opencv-cache.outputs.cache-hit != 'true' }}
45-
name: Compile OpenCV
46-
run: |
47-
mkdir opencv/build
48-
cd opencv/build
49-
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_INF_ENGINE=ON -DOpenVINO_DIR=$GITHUB_WORKSPACE/l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/runtime/cmake/ ..
50-
cmake --build . -j $((`nproc`*2+2))
51-
- name: build_demos.sh
52-
run: |
53-
source l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/setupvars.sh
54-
OpenCV_DIR=$GITHUB_WORKSPACE/opencv/build ./demos/build_demos.sh -DENABLE_PYTHON=y
16+
- uses: actions/checkout@v3
17+
with:
18+
submodules: recursive
19+
- name: Set up Python 3.8
20+
uses: actions/setup-python@v3
21+
with:
22+
python-version: "3.8"
23+
- name: python -m pip install --upgrade pip && python -m pip install numpy
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install numpy
27+
- name: Download OpenVINO
28+
run: |
29+
wget https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3/linux/l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64.tgz
30+
tar xf l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64.tgz
31+
sudo l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/install_dependencies/install_openvino_dependencies.sh
32+
- name: Cache OpenCV
33+
id: opencv-cache
34+
uses: actions/cache@v3
35+
with:
36+
path: ${{ github.workspace }}/opencv
37+
key: ${{ runner.os }}-opencv-cache
38+
- if: ${{ steps.opencv-cache.outputs.cache-hit != 'true' }}
39+
name: Checlout OpenCV
40+
uses: actions/checkout@v3
41+
with:
42+
repository: opencv/opencv
43+
path: opencv
44+
- if: ${{ steps.opencv-cache.outputs.cache-hit != 'true' }}
45+
name: Compile OpenCV
46+
run: |
47+
mkdir opencv/build
48+
cd opencv/build
49+
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_INF_ENGINE=ON -DOpenVINO_DIR=$GITHUB_WORKSPACE/l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/runtime/cmake/ ..
50+
cmake --build . -j $((`nproc`*2+2))
51+
- name: build_demos.sh
52+
run: |
53+
source l_openvino_toolkit_ubuntu20_2022.3.0.9052.9752fafe8eb_x86_64/setupvars.sh
54+
OpenCV_DIR=$GITHUB_WORKSPACE/opencv/build ./demos/build_demos.sh -DENABLE_PYTHON=y

0 commit comments

Comments
 (0)