Add python 3.11 to CI (#587)
This commit is contained in:
parent
cb21fc7b9e
commit
8c6a45e208
|
@ -23,7 +23,7 @@ jobs:
|
|||
matrix:
|
||||
os: [Ubuntu, Windows, macOS]
|
||||
python_version:
|
||||
["3.7", "3.8", "3.9", "3.10", "pypy3.7", "pypy3.8", "pypy3.9"]
|
||||
["3.7", "3.8", "3.9", "3.10", "3.11-dev", "pypy3.7", "pypy3.8", "pypy3.9"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -35,4 +35,9 @@ jobs:
|
|||
cache: "pip"
|
||||
|
||||
- name: Run nox
|
||||
run: pipx run nox --error-on-missing-interpreters -s tests-${{ matrix.python_version }}
|
||||
run: |
|
||||
# Need to remove "-dev" suffix
|
||||
INTERPRETER=${{ matrix.python_version }}
|
||||
INTERPRETER=${INTERPRETER/-dev/}
|
||||
pipx run nox --error-on-missing-interpreters -s tests-${INTERPRETER}
|
||||
shell: bash
|
||||
|
|
|
@ -21,7 +21,9 @@ nox.options.sessions = ["lint"]
|
|||
nox.options.reuse_existing_virtualenvs = True
|
||||
|
||||
|
||||
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy3.7", "pypy3.8", "pypy3.9"])
|
||||
@nox.session(
|
||||
python=["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.7", "pypy3.8", "pypy3.9"]
|
||||
)
|
||||
def tests(session):
|
||||
def coverage(*args):
|
||||
session.run("python", "-m", "coverage", *args)
|
||||
|
|
1
setup.py
1
setup.py
|
@ -60,6 +60,7 @@ setup(
|
|||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue