File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -24,35 +24,34 @@ jobs:
2424
2525 tests :
2626 strategy :
27+ fail-fast : false
2728 matrix :
2829 os : [ubuntu-latest]
2930 python-version : ["3.9", "3.10", "3.11"]
3031 # Only test the latest major release of Sphinx because otherwise we need to
3132 # keep multiple versions of regression tests on file and this creates lots of
3233 # noise in the tests.
33- sphinx : [">=6,<7 "]
34+ sphinx : ["~=4.0","~=5.0","~=6.0","~=7.0 "]
3435 include :
3536 - os : windows-latest
36- python-version : 3.11
37- sphinx : " >=6,<7"
37+ python-version : 3.x
3838 - os : macos-latest
39- python-version : 3.11
40- sphinx : " >=6,<7"
39+ python-version : 3.x
4140 runs-on : ${{ matrix.os }}
4241
4342 steps :
4443 - uses : actions/checkout@v4
45- - name : Set up Python ${{ matrix.python-version }} and Sphinx ${{ matrix.sphinx }}
44+ - name : Set up Python ${{ matrix.python-version }}
4645 uses : actions/setup-python@v4
4746 with :
4847 python-version : ${{ matrix.python-version }}
4948 cache : " pip"
5049 cache-dependency-path : " pyproject.toml"
5150
52- - name : Install dependencies
51+ - name : Install dependencies with Sphinx ${{ matrix.sphinx }}
5352 run : |
5453 python -m pip install --upgrade pip
55- python -m pip install -e .[test]
54+ python -m pip install --upgrade "sphinx${{matrix.sphinx}}" - e .[test]
5655
5756 - name : Run pytest
5857 run : >
You can’t perform that action at this time.
0 commit comments