Update README and TODO #72
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: Testing | |
# Run this job on pushes to `main`, and for pull requests. If you don't specify | |
# `branches: [main], then this actions runs _twice_ on pull requests, which is | |
# annoying. | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
ci: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
os: [ubuntu-latest, macos-13, windows-latest] | |
defaults: | |
run: | |
shell: bash | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- uses: snok/[email protected] | |
- name: Install dependencies | |
run: poetry install | |
- uses: FedericoCarboni/setup-ffmpeg@v3 | |
with: | |
ffmpeg-version: release | |
github-token: ${{ github.server_url == 'https://github.com' && github.token || '' }} | |
- name: Run tests | |
run: poetry run pytest -vv --durations=0 |