Skip to content

Add support for Python 3.10/3.11 #36

Add support for Python 3.10/3.11

Add support for Python 3.10/3.11 #36

Workflow file for this run

name: test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
name: lint
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: x64
- run: pip install -U -r dev-requirements.txt
- run: flake8 .
- run: black --check --diff .
- run: isort --check --diff .
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9", "pypy3.10"]
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install -U -r test-requirements.txt
- run: PATH=./tests/ffmpeg:$PATH PYTHONPATH=. py.test tests --cov=ffmpy --cov-report xml
- name: upload coverage
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true