Skip to content

Commit ba9408c

Browse files
authored
chore: add test with Python 3.11 (#368)
1 parent 2471a5a commit ba9408c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
os:
1212
- ubuntu-latest
13-
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", pypy3]
13+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11.0-alpha - 3.11", pypy3]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def read_files(files):
5151
'Programming Language :: Python :: 3.8',
5252
'Programming Language :: Python :: 3.9',
5353
'Programming Language :: Python :: 3.10',
54+
'Programming Language :: Python :: 3.11',
5455
'Programming Language :: Python :: Implementation :: PyPy',
5556
'Intended Audience :: Developers',
5657
'Intended Audience :: System Administrators',

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = lint,py{35,36,37,38,39,310},pypy3,manifest,coverage-report
2+
envlist = lint,py{35,36,37,38,39,310,311},pypy3,manifest,coverage-report
33

44
[gh-actions]
55
python =
@@ -9,6 +9,7 @@ python =
99
3.8: py38, coverage-report
1010
3.9: py39, coverage-report
1111
3.10: py310, lint, manifest, coverage-report
12+
3.11: py311, coverage-report
1213
pypy3: pypy3, coverage-report
1314

1415
[testenv]
@@ -18,7 +19,7 @@ deps =
1819
coverage
1920
sh
2021
click
21-
py{35,36,37,38,39,310,py3}: ipython
22+
py{35,36,37,38,39,310,311,py3}: ipython
2223
commands = coverage run --parallel -m pytest {posargs}
2324

2425
[testenv:lint]
@@ -29,6 +30,7 @@ deps =
2930
types-mock
3031
commands =
3132
flake8 src tests
33+
mypy --python-version=3.11 src tests
3234
mypy --python-version=3.10 src tests
3335
mypy --python-version=3.9 src tests
3436
mypy --python-version=3.8 src tests

0 commit comments

Comments
 (0)