Skip to content

Commit 10f4f9d

Browse files
committed
CI: Add docutils test matrix (0.20, 0.21, 0.22)
1 parent 5dd4d81 commit 10f4f9d

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,30 @@ jobs:
2626
"3.9",
2727
"3.14",
2828
]
29+
docutils-version: [
30+
"0.22.*",
31+
]
2932
sphinx-version: [
3033
"5.*",
3134
"6.*",
3235
"7.*",
3336
"8.*",
3437
]
3538
exclude:
39+
40+
# Don't validate Sphinx 8 on Python 3.9.
3641
- python-version: "3.9"
42+
docutils-version: "0.22.*"
43+
sphinx-version: "8.*"
44+
45+
include:
46+
47+
# Validate on docutils 0.20 and 0.21.
48+
- python-version: "3.14"
49+
docutils-version: "0.20.*"
50+
sphinx-version: "8.*"
51+
- python-version: "3.14"
52+
docutils-version: "0.21.*"
3753
sphinx-version: "8.*"
3854

3955
env:
@@ -69,8 +85,9 @@ jobs:
6985
# Install package in editable mode.
7086
uv pip install --editable='.[develop,docs,test]'
7187
72-
# Install specific Sphinx version, according to test matrix slot.
88+
# Install specific Sphinx and docutils versions, according to test matrix slots.
7389
uv pip install 'sphinx==${{ matrix.sphinx-version }}'
90+
uv pip install 'docutils==${{ matrix.docutils-version }}'
7491
7592
# Display Sphinx version.
7693
sphinx-build --version

0 commit comments

Comments
 (0)