Test development versions of Python
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -50,6 +50,10 @@ jobs:
os: ubuntu-latest
experimental: false
nox-session: test-3.9
+ - python-version: 3.11-dev
+ os: ubuntu-latest
+ experimental: true
+ nox-session: test-3.11
runs-on: ${{ matrix.os }}
name: ${{ fromJson('{"macos-latest":"macOS","windows-latest":"Windows","ubuntu-latest":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }} ${{ matrix.nox-session}}
@@ -70,7 +74,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- - name: Set Up Python - ${{ matrix.python-version }}
+ - name: Set Up Python (Development version) - ${{ matrix.python-version }}
uses: deadsnakes/action@v2.0.2
if: endsWith(matrix.python-version, '-dev')
with:

MODIFY
noxfile.py
noxfile.py
@@ -57,7 +57,7 @@ def tests_impl(
session.run("coverage", "xml")
-@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy"])
+@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy"])
def test(session: nox.Session) -> None:
tests_impl(session)

Test development versions of Python

Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>

Co-authored-by: Seth Michael Larson <sethmichaellarson@gmail.com>