Skip to content

Commit 9e65eda

Browse files
committed
Updates sphinx versions for tests
1 parent f3adf2f commit 9e65eda

File tree

2 files changed

+12
-34
lines changed

2 files changed

+12
-34
lines changed

.github/workflows/python-tests.yml

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,24 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- os: ubuntu-latest
21-
python-version: 3.7
22-
toxenv: py37-test-sphinx17
2320
- os: windows-latest
2421
python-version: 3.7
25-
toxenv: py37-test-sphinx18
26-
- os: macos-latest
27-
python-version: 3.7
28-
toxenv: py37-test-sphinx20
29-
- os: ubuntu-latest
30-
python-version: 3.8
31-
toxenv: py38-test-sphinx24
32-
- os: windows-latest
33-
python-version: 3.8
3422
toxenv: py38-test-sphinx30
3523
- os: ubuntu-latest
36-
python-version: 3.9
24+
python-version: 3.8
3725
toxenv: py39-test-sphinx35
3826
- os: ubuntu-latest
3927
python-version: 3.9
4028
toxenv: py39-test-sphinx40
29+
- os: ubuntu-latest
30+
python-version: "3.10"
31+
toxenv: py310-test-sphinx50
32+
- os: ubuntu-latest
33+
python-version: "3.11"
34+
toxenv: py311-test-sphinx60
4135
- os: macos-latest
42-
python-version: 3.9
43-
toxenv: py39-test-sphinxdev
36+
python-version: "3.11"
37+
toxenv: py311-test-sphinxdev
4438

4539
steps:
4640
- uses: actions/checkout@v2
@@ -54,11 +48,3 @@ jobs:
5448
run: python -m pip install tox
5549
- name: Run Tox
5650
run: tox -v -e ${{ matrix.toxenv }}
57-
58-
# - name: Slack Notification
59-
# uses: 8398a7/action-slack@v3
60-
# with:
61-
# status: ${{ job.status }}
62-
# env:
63-
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
64-
# if: always() # TODO: cron

tox.ini

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{37,38,39}-test
3+
py{37,38,39,310,311}-test
44
codestyle
55
requires =
66
setuptools >= 30.3.0
@@ -12,22 +12,14 @@ changedir = .tmp/{envname}
1212
description = run tests
1313
extras = tests
1414
deps =
15-
sphinx17: sphinx==1.7.*
16-
sphinx17: Jinja2==3.0.3
17-
sphinx18: sphinx==1.8.*
18-
sphinx18: Jinja2==3.0.3
19-
sphinx20: sphinx==2.0.*
20-
sphinx20: docutils==0.17.*
21-
sphinx20: Jinja2==3.0.3
22-
sphinx24: sphinx==2.4.*
23-
sphinx24: docutils==0.17.*
24-
sphinx24: Jinja2==3.0.3
2515
sphinx30: sphinx==3.0.*
2616
sphinx30: docutils==0.17.*
2717
sphinx30: Jinja2==3.0.3
2818
sphinx35: sphinx==3.5.*
2919
sphinx35: Jinja2==3.0.3
3020
sphinx40: sphinx==4.0.*
21+
sphinx50: sphinx==5.0.*
22+
sphinx60: sphinx==6.0.*
3123
sphinxdev: git+https://github.com/sphinx-doc/sphinx#egg=sphinx
3224

3325
commands =

0 commit comments

Comments
 (0)