Skip to content

Add support for Python 3.12 and drop EOL 3.7 #125

Add support for Python 3.12 and drop EOL 3.7

Add support for Python 3.12 and drop EOL 3.7 #125

Workflow file for this run

name: build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install hatch
run: python -m pip install --upgrade pip hatch hatch-vcs
- name: Run tests
run: hatch run +py=${{ matrix.python }} test:default --color=yes
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: pre-commit/action@v3.0.0