Skip to content

Commit 25b57b6

Browse files
committed
WIP: skip doc build in test workflow for old spx.
1 parent 97b46a1 commit 25b57b6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
os: [Ubuntu]
1515
python-version: [3.6, 3.7, 3.8, 3.9]
16-
sphinx-version: ["sphinx==1.8.0", "sphinx==2.1", "sphinx>3.0"]
16+
sphinx-version: ["sphinx==1.6.5", "sphinx==2.1", "sphinx>3.0"]
1717
steps:
1818
- uses: actions/checkout@v2
1919

@@ -52,10 +52,12 @@ jobs:
5252
echo '! python -m numpydoc --validate numpydoc.tests.test_main._docstring_with_errors' | bash
5353
5454
- name: Setup for doc build
55+
if: ${{ matrix.sphinx-version }} != "sphinx==1.6.5"
5556
run: |
5657
sudo apt install texlive texlive-latex-extra latexmk dvipng
5758
5859
- name: Build documentation
60+
if: ${{ matrix.sphinx-version }} != "sphinx==1.6.5"
5961
run: |
6062
make -C doc html SPHINXOPTS="-nT"
6163
make -C doc latexpdf SPHINXOPTS="-nT"

0 commit comments

Comments
 (0)