Skip to content

Add support for Python 3.12 and drop for 3.7. (#45) #73

Add support for Python 3.12 and drop for 3.7. (#45)

Add support for Python 3.12 and drop for 3.7. (#45) #73

Workflow file for this run

name: Lint and test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
static-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Static Check with tox
run: tox --skip-missing-interpreter=false -e flake8,black,pylint
test:
runs-on: ${{ matrix.os }}
needs: static-check
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
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 tox-gh-actions
- name: Test with tox
run: tox --skip-missing-interpreter=false