Skip to content

Drop support for Python 3.7. Add support for Python 3.12. #186

Drop support for Python 3.7. Add support for Python 3.12.

Drop support for Python 3.7. Add support for Python 3.12. #186

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
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: |
python -m pip install --upgrade pip
pip install tox
- name: Info
run: |
echo "===== PYTHON ====="
python --version
- name: Run tests
run: tox -e py${{ matrix.python-version }}