Start testing on Python 3.12

Closes #390
pull/398/head
Ashley Whetter 12 months ago
parent 1e6b1fa4c4
commit 6f4e12a00c

@ -8,7 +8,8 @@ jobs:
test: test:
strategy: strategy:
matrix: matrix:
python-version: [3.7, 3.8, 3.9, '3.10', 3.11] # Keep this in sync with tox.ini
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
platform: [ubuntu-latest, macos-latest, windows-latest] platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
@ -19,6 +20,7 @@ jobs:
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade pip setuptools wheel

@ -0,0 +1 @@
Start testing in Python 3.12

@ -2,7 +2,7 @@
isolated_build = true isolated_build = true
envlist = envlist =
# Keep this in sync with .github/workflows/main.yml # Keep this in sync with .github/workflows/main.yml
py{37,38,39,310,311} py{37,38,39,310,311,312}
formatting formatting
typecheck typecheck
lint lint
@ -16,6 +16,7 @@ python =
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311, formatting, typecheck, lint, docs, release_notes 3.11: py311, formatting, typecheck, lint, docs, release_notes
3.12: py312
[testenv] [testenv]
extras = extras =

Loading…
Cancel
Save