Skip to content

Commit 6b45446

Browse files
authored
Update build_wheels_windows.yml
1 parent a66914a commit 6b45446

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,18 @@ jobs:
191191
cd ${{ github.workspace }}/tests
192192
&python -m pip install --user --no-warn-script-location (ls "../wheelhouse/opencv*.whl")
193193
if ($LastExitCode -ne 0) {throw $LastExitCode}
194+
$cv2_path = python -c "import cv2; import os; print(os.path.dirname(cv2.__file__))"
195+
Copy-Item "${{ github.workspace }}\wheelhouse\libopenblas.dll" "$cv2_path\libopenblas.dll"
194196
python get_build_info.py
195197
shell: powershell
196198
env:
197199
PATH: ${{ github.workspace }}\wheelhouse;${{ env.PATH }}
198-
PYTHONPATH: ${{ github.workspace }}\wheelhouse;${{ env.PYTHONPATH }}
199200
- name: Run tests
200201
run: |
201202
cd ${{ github.workspace }}/opencv
202203
python modules\python\test\test.py -v --repo .
203204
env:
204205
PATH: ${{ github.workspace }}\wheelhouse;${{ env.PATH }}
205-
PYTHONPATH: ${{ github.workspace }}\wheelhouse;${{ env.PYTHONPATH }}
206206

207207
- name: Pylint test
208208
run: |

0 commit comments

Comments
 (0)