Skip to content

Add Python 3.11 to test matrix #163

Add Python 3.11 to test matrix

Add Python 3.11 to test matrix #163

Workflow file for this run

name: Lint & test
on: [push, pull_request]
jobs:
linters:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: pre-commit
run: |
python -m pip install pre-commit
pre-commit run --show-diff-on-failure --all-files
tests:
name: pytest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
- uses: wntrblm/nox@2023.04.22
- name: Run matrix of tests
run: nox --no-venv --non-interactive --python python