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

Commit f4db095

Browse files
cclausssambhav
andauthored
Add Python 3.11 to the testing matrix (#612)
* Add Python 3.11 to the testing * tox.ini: Add py311 * Update test.yml * Update tox.ini * Remove docs make command from tests Docs are automatically generated per pull request using RTD Oauth app. We don't need to regenerate them in github actions. This also removes the dependency on python 3.11 from docs generation. Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
1 parent 447af8f commit f4db095

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

.github/workflows/test.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ jobs:
1111
test-latest:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
14+
fail-fast: false
1415
matrix:
1516
os: [macos-latest, ubuntu-latest, windows-latest]
16-
python-version: ["3.7", "3.8", "3.9", "3.10"]
17+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1718

1819
steps:
19-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2021
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v2
22+
uses: actions/setup-python@v4
2223
with:
2324
python-version: ${{ matrix.python-version }}
2425
- name: Install tox

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ format:
55
black src/pydocstyle
66

77
tests:
8-
tox -e py,install,docs
8+
tox -e py,install

tox.ini

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# install tox" and then run "tox" from this directory.
55

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

99
[testenv]
1010
download = true
@@ -64,3 +64,10 @@ commands = {[testenv:install]commands}
6464
[testenv:py310-install]
6565
skip_install = {[testenv:install]skip_install}
6666
commands = {[testenv:install]commands}
67+
68+
69+
[testenv:py311-install]
70+
skip_install = {[testenv:install]skip_install}
71+
commands = {[testenv:install]commands}
72+
73+

0 commit comments

Comments
 (0)