Skip to content

Commit

Permalink
Add Python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ymyzk committed Nov 13, 2022
1 parent 023a8be commit 7638359
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.11]

steps:
- uses: actions/checkout@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
- macos-latest # macOS-10.15
- windows-2016
- windows-latest # windows-2019
python-version: [3.7, 3.8, 3.9, '3.10', pypy-3.7]
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', pypy-3.7, pypy-3.8, pypy-3.9]

steps:
- uses: actions/checkout@v1
Expand All @@ -34,12 +34,12 @@ jobs:
- name: Test with tox
run: tox
- name: Upload coverage.xml
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.9' }}
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
uses: actions/upload-artifact@v2
with:
name: tox-gh-actions-coverage
path: coverage.xml
if-no-files-found: error
- name: Upload coverage.xml to codecov
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.9' }}
if: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
uses: codecov/codecov-action@v1
10 changes: 6 additions & 4 deletions setup.cfg
Expand Up @@ -27,6 +27,7 @@ classifiers =
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
Topic :: Software Development :: Testing
Expand Down Expand Up @@ -78,14 +79,15 @@ envlist =
black
flake8
mypy
{py37,py38,py39,py310,pypy2,pypy3}-toxlatest
{py37,py38,py39,py310,py311,pypy2,pypy3}-toxlatest

[gh-actions]
python =
3.7: py37
3.8: py38, black, flake8
3.9: py39, mypy
3.10: py310
3.8: py38
3.9: py39
3.10: py310, black, flake8, mypy
3.11: py311
pypy-2: pypy2
pypy-3: pypy3

Expand Down

0 comments on commit 7638359

Please sign in to comment.