File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -188,28 +188,21 @@ jobs:
188
188
189
189
- name : Package installation
190
190
run : |
191
- # Copy DLL next to cv2.pyd (Python 3.8+ needs this)
192
- $cv2_path = python -c "import cv2; import os; print(os.path.dirname(cv2.__file__))"
193
- Copy-Item "${{ github.workspace }}\wheelhouse\libopenblas.dll" "$cv2_path\libopenblas.dll"
194
191
cd ${{ github.workspace }}/tests
195
192
&python -m pip install --user --no-warn-script-location (ls "../wheelhouse/opencv*.whl")
196
193
if ($LastExitCode -ne 0) {throw $LastExitCode}
197
194
python get_build_info.py
198
195
shell : powershell
199
196
env :
200
197
PATH : ${{ github.workspace }}\wheelhouse;${{ env.PATH }}
198
+ PYTHONPATH : ${{ github.workspace }}\wheelhouse;${{ env.PYTHONPATH }}
201
199
- name : Run tests
202
200
run : |
203
- # Find cv2 install path
204
- $cv2_path = python -c "import cv2; import os; print(os.path.dirname(cv2.__file__))"
205
-
206
- # Copy DLL next to cv2.pyd
207
- Copy-Item "${{ github.workspace }}\wheelhouse\libopenblas.dll" "$cv2_path\libopenblas.dll"
208
-
209
201
cd ${{ github.workspace }}/opencv
210
202
python modules\python\test\test.py -v --repo .
211
203
env :
212
204
PATH : ${{ github.workspace }}\wheelhouse;${{ env.PATH }}
205
+ PYTHONPATH : ${{ github.workspace }}\wheelhouse;${{ env.PYTHONPATH }}
213
206
214
207
- name : Pylint test
215
208
run : |
You can’t perform that action at this time.
0 commit comments