You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
name: tests
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
build:
|
|
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.11"]
|
|
# platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
platform: [macos-11]
|
|
# exclude:
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -U pytest
|
|
# pip install -U .
|
|
# - name: Test with pytest cv2 4.6
|
|
# run: |
|
|
# pip install --force-reinstall -v "opencv-contrib-python==4.6.0.66"
|
|
# pytest -vvv -s tests/cv2_segfault_repro_test.py::test_cv2_segfault_6_f0
|
|
# pytest -vvv -s tests/cv2_segfault_repro_test.py::test_cv2_segfault_6_f1
|
|
- name: Test with pytest cv2 4.7
|
|
run: |
|
|
pip install --force-reinstall -v "opencv-contrib-python>=4.7.0"
|
|
pytest -vvv -s tests/cv2_segfault_repro_test.py::test_cv2_segfault_6_f0
|
|
pytest -vvv -s tests/cv2_segfault_repro_test.py::test_cv2_segfault_6_f1
|