This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
Bump opencv-python-headless from 4.7.0.72 to 4.8.0.74 (#56) #137
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: CI testing | |
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows | |
on: | |
# Trigger the workflow on push or pull request, but only for the master branch | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }} | |
jobs: | |
pytest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, macOS-10.15] | |
python-version: [3.8] | |
# Timeout: https://stackoverflow.com/a/59076067/4521646 | |
timeout-minutes: 35 | |
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: | | |
pip --version | |
pip install -e . -r tests/requirements.txt -U -q --find-links https://download.pytorch.org/whl/cpu/torch_stable.html | |
pip list | |
shell: bash | |
- name: Tests | |
run: coverage run --source video_search -m py.test video_search tests -v | |
- name: Statistics | |
run: coverage report |