8000 Merge pull request #127 from dmtucker/py310 · realpython/pytest-mypy@0f669ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f669ef

Browse files
authored
Merge pull request #127 from dmtucker/py310
Test python3.10
2 parents 2ee7bd4 + 0aecaa3 commit 0f669ef

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/validation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
8+
python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
99
steps:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-python@v2

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def read(fname):
5151
"Programming Language :: Python :: 3.7",
5252
"Programming Language :: Python :: 3.8",
5353
"Programming Language :: Python :: 3.9",
54+
"Programming Language :: Python :: 3.10",
5455
"Programming Language :: Python :: Implementation :: CPython",
5556
"Operating System :: OS Independent",
5657
"License :: OSI Approved :: MIT License",

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ envlist =
88
py37-pytest{4.6, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
99
py38-pytest{4.6, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
1010
py39-pytest{4.6, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
11+
py310-pytest{6.2, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
1112
publish
1213
static
1314

@@ -18,13 +19,15 @@ python =
1819
3.7: py37-pytest{4.6, 5.0, 5.x, 6.0, 6.x}-mypy{0.50, 0.5x, 0.60, 0.6x, 0.70, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
1920
3.8: py38-pytest{4.6, 5.0, 5.x, 6.0, 6.x}-mypy{0.71, 0.7x, 0.80, 0.8x, 0.90, 0.9x}, publish, static
2021
3.9: py39-pytest{4.6, 5.0, 5.x, 6.0, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
22+
3.10: py310-pytest{6.2, 6.x}-mypy{0.78, 0.7x, 0.80, 0.8x, 0.90, 0.9x}
2123

2224
[testenv]
2325
deps =
2426
pytest4.6: pytest ~= 4.6.0
2527
pytest5.0: pytest ~= 5.0.0
2628
pytest5.x: pytest ~= 5.0
2729
pytest6.0: pytest ~= 6.0.0
30+
pytest6.2: pytest ~= 6.2.0
2831
pytest6.x: pytest ~= 6.0
2932
mypy0.50: mypy >= 0.500, < 0.510
3033
mypy0.51: mypy >= 0.510, < 0.520

0 commit comments

Comments
 (0)
0