chore(ci): install Python 3.11 for testing #377
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: Python package | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install additional Python interpreters | |
run: | | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt-get update | |
sudo apt-get install python3.7 python3.7-distutils python3.9 python3.9-distutils python3.10 python3.10-distutils python3.11 | |
- name: Install ffmpeg | |
run: sudo apt-get install ffmpeg | |
- name: Install tox | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install tox | |
- name: Run tox | |
run: python -m tox --skip-missing false |