Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Add Python 3.11 to the testing #612

Merged
merged 8 commits into from Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -11,14 +11,15 @@ jobs:
test-latest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -5,4 +5,4 @@ format:
black src/pydocstyle

tests:
tox -e py,install,docs
tox -e py,install
9 changes: 8 additions & 1 deletion tox.ini
Expand Up @@ -4,7 +4,7 @@
# install tox" and then run "tox" from this directory.

[tox]
envlist = py{36,37,38,39,310}-{tests,install},docs,install,py36-docs
envlist = py{36,37,38,39,310,311}-{tests,install},docs,install,py36-docs

[testenv]
download = true
Expand Down Expand Up @@ -64,3 +64,10 @@ commands = {[testenv:install]commands}
[testenv:py310-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}


[testenv:py311-install]
skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}