Skip to content

Commit d23d013

Browse files
committed
Update the test versions we run
1 parent 0b969d5 commit d23d013

1 file changed

Lines changed: 6 additions & 22 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,16 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
os: [ubuntu-latest]
31-
python-version: ["3.10", "3.11", "3.12.*", "3.13"]
32-
# Test recent major releases of Sphinx; regression fixtures target the latest.
33-
sphinx: ["~=6.0","~=7.0", "~=8.0", "~=9.0"]
34-
exclude:
35-
- os: ubuntu-latest
36-
python-version: "3.10"
37-
sphinx: "~=9.0"
38-
- os: ubuntu-latest
39-
python-version: "3.11"
40-
sphinx: "~=9.0"
31+
python-version: ["3.11", "3.12", "3.13"]
32+
# Test last 2 major releases of Sphinx; regression fixtures target the latest.
33+
sphinx: ["~=8.0", "~=9.0"]
4134
include:
4235
- os: windows-latest
43-
# Python 3.12 is broken on windows builds until the following PR is released:
44-
# https://github.com/pradyunsg/sphinx-theme-builder/pull/47
4536
python-version: 3.11
4637
# Windows pulling in dependencies fails
4738
experimental: true
4839
- os: macos-latest
4940
python-version: 3.x
50-
# Sphinx <8 is 3.9+
51-
- os: ubuntu-latest
52-
python-version: "3.9"
53-
sphinx: "~=7.0"
54-
- os: ubuntu-latest
55-
python-version: "3.9"
56-
sphinx: "~=6.0"
5741

5842
runs-on: ${{ matrix.os }}
5943

@@ -78,10 +62,10 @@ jobs:
7862
# Only upload to codecov on pull requests so that we don't trigger rate limit blocks
7963
# Disabled for now with false &&
8064
- name: Upload to Codecov
81-
if: false && matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 && matrix.sphinx == '~=7.0' && github.repository == 'executablebooks/sphinx-book-theme' && github.event_name == 'pull_request'
65+
if: false && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' && matrix.sphinx == '~=8.0' && github.repository == 'executablebooks/sphinx-book-theme' && github.event_name == 'pull_request'
8266
uses: codecov/codecov-action@v5.0.7
8367
with:
84-
name: ebp-sbt-pytests-py3.7
68+
name: ebp-sbt-pytests-py3.11
8569
flags: pytests
8670
file: ./coverage.xml
8771
fail_ci_if_error: true
@@ -95,7 +79,7 @@ jobs:
9579
- name: Set up Python
9680
uses: actions/setup-python@v5
9781
with:
98-
python-version: '3.9'
82+
python-version: '3.11'
9983
cache: "pip"
10084
cache-dependency-path: "pyproject.toml"
10185
- name: Install fonts

0 commit comments

Comments
 (0)