Build(deps): Bump opencv-python from 4.1.0.25 to 4.8.1.78 in /pymnn/test/playground #138
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: pymnn-windows | |
on: | |
push: | |
branches: | |
- master | |
- 'feature/**' | |
paths: | |
- 'pymnn/**' | |
- '.github/workflows/pymnn_windows.yml' | |
pull_request: | |
branches: [master] | |
paths: | |
- 'pymnn/**' | |
- '.github/workflows/pymnn_windows.yml' | |
concurrency: | |
group: pymnn-windows-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
pymnn_windows_buil_test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: prepare | |
run: | | |
pip3 install numpy==1.25 opencv-python torch | |
- name: build | |
run: | | |
cd pymnn/pip_package | |
python3 build_deps.py | |
python3 setup.py install --version 1.0 | |
- name: test | |
run: | | |
cd pymnn/test | |
python3 unit_test.py |