Skip to content

Commit

Permalink
test on Python 3.11 and pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Jun 28, 2022
1 parent 48c0bcc commit f17c975
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macos-latest]
pyv: ['3.8', '3.9', '3.10']
pyv: ['3.8', '3.9', '3.10', '3.11-dev']
include:
- os: ubuntu-latest
pyv: 'pypy-3.8'

steps:
- name: Check out the repository
Expand All @@ -40,6 +43,7 @@ jobs:
nox --version
- name: Lint code and check dependencies
if: matrix.pyv != '3.11-dev'
run: nox -s lint safety

- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
locations = "src", "tests"


@nox.session(python=["3.8", "3.9", "3.10"])
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "pypy-3.8", "pypy-3.9"])
def tests(session: nox.Session) -> None:
session.install(".[tests]")
session.run(
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Development Status :: 4 - Beta

[options]
Expand Down

0 comments on commit f17c975

Please sign in to comment.