Skip to content

Commit

Permalink
Update test-windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga authored Dec 12, 2024
1 parent cad99b9 commit 990a0cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,22 +224,27 @@ jobs:
shell: cmd
run: |
metacall pip install -r test/opencv/requirements.txt | findstr "Successfully installed"
IF %ERRORLEVEL% NEQ 0 exit /B 1
# For some reason, OpenCV fails if you do not reinstall numpy
- name: Python OpenCV Test (Uninstall Numpy for OpenCV)
shell: cmd
run: |
metacall pip uninstall numpy --yes
IF %ERRORLEVEL% NEQ 0 exit /B 1
# For some reason, it needs to be split into two different steps
- name: Python OpenCV Test (Install Numpy for OpenCV)
shell: cmd
run: |
metacall pip install numpy==1.21.6
IF %ERRORLEVEL% NEQ 0 exit /B 1
- name: Python OpenCV Test (Test OpenCV)
shell: cmd
run: |
metacall ./test/opencv/opencv.py | findstr "OpenCV Version: 3.4.11"
IF %ERRORLEVEL% NEQ 0 exit /B 1
- name: Deploy & FaaS Test
shell: cmd
Expand Down

0 comments on commit 990a0cd

Please sign in to comment.