Remove resolution_in_pixels from CameraDevice #21
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: Run tests | |
on: push | |
jobs: | |
run-tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9"] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Cancel Workflow Action | |
uses: styfle/cancel-workflow-action@0.6.0 | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install test requirements and extension | |
run: | | |
python -m pip install -r requirements.txt -r requirements-dev.txt | |
python -m pip install -e . | |
- name: Run tests | |
run: | | |
python -m pytest -rP # env vars are set within certain tests |