Skip to content

Commit 3b4f8cc

Browse files
committed
more Python 3.11 testing
1 parent c621b5e commit 3b4f8cc

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ jobs:
1515
tox:
1616
name: CI tests via Tox
1717

18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-20.04 # 22.04 doesn't support Python 3.6
1919

2020
strategy:
2121
matrix:
2222
py-ver-major: [3]
2323
py-ver-minor: [6, 7, 8, 9, 10, 11]
2424
step: [lint, unit, mypy]
2525
exclude:
26-
- py-ver-major: 3
27-
py-ver-minor: 11
28-
step: mypy
2926
- py-ver-major: 3
3027
py-ver-minor: 6
3128
step: mypy
@@ -43,11 +40,11 @@ jobs:
4340
with:
4441
python-version: ${{ env.py-semver }}
4542

46-
- name: Set up Python 3.11.0-rc.1
43+
- name: Set up Python 3.11.0-rc.2
4744
if: matrix.py-ver-minor == 11
4845
uses: actions/setup-python@v4
4946
with:
50-
python-version: 3.11.0-rc.1
47+
python-version: 3.11.0-rc.2
5148

5249

5350
- name: Cache for pip
@@ -121,7 +118,7 @@ jobs:
121118
release_test:
122119
name: Schema Salad release test
123120

124-
runs-on: ubuntu-20.04
121+
runs-on: ubuntu-22.04
125122

126123
steps:
127124
- uses: actions/checkout@v3

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
"Programming Language :: Python :: 3.8",
170170
"Programming Language :: Python :: 3.9",
171171
"Programming Language :: Python :: 3.10",
172+
"Programming Language :: Python :: 3.11",
172173
"Typing :: Typed",
173174
],
174175
use_scm_version=True,

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ envlist =
33
py{36,37,38,39,310,311}-lint,
44
py{36,37,38,39,310,311}-unit,
55
py{37,38,39,310,311}-bandit,
6-
py{37,38,39,310}-mypy,
6+
py{37,38,39,310,311}-mypy,
77
py310-lintreadme,
88
py310-pydocstyle
99

@@ -27,7 +27,7 @@ description =
2727
py{36,37,38,39,310,311}-unit: Run the unit tests
2828
py{36,37,38,39,310,311}-lint: Lint the Python code
2929
py{37,38,39,310,311}-bandit: Search for common security issues
30-
py{37,38,39,310}-mypy: Check for type safety
30+
py{37,38,39,310,311}-mypy: Check for type safety
3131
py310-pydocstyle: docstring style checker
3232
py310-lintreadme: Lint the README.rst->.md conversion
3333

@@ -40,7 +40,7 @@ deps =
4040
py{36,37,38,39,310,311}-lint: flake8-bugbear
4141
py{36,37,38,39,310,311}-lint: black
4242
py{37,38,39,310,311}-bandit: bandit
43-
py{37,38,39,310}-mypy: -rmypy-requirements.txt
43+
py{37,38,39,310,311}-mypy: -rmypy-requirements.txt
4444

4545
setenv =
4646
py{36,37,38,39,310,311}-unit: LC_ALL = C.UTF-8
@@ -51,9 +51,9 @@ commands =
5151
py{37,38,39,310,311}-bandit: bandit --recursive --exclude schema_salad/tests/ schema_salad
5252
py{36,37,38,39,310,311}-lint: make flake8
5353
py{36,37,38,39,310,311}-lint: make format-check
54-
py{36,37,38,39,310}-mypy: make mypy
54+
py{37,38,39,310,311}-mypy: make mypy
55+
py{37,38,39,310,311}-mypy: make mypyc
5556
py37-mypy: make mypy_3.6
56-
py{36,37,38,39,310}-mypy: make mypyc
5757

5858
whitelist_externals =
5959
py{36,37,38,39,310,311}-lint: flake8

0 commit comments

Comments
 (0)