Skip to content

Commit 7f4b84e

Browse files
committed
Fix doc build CI job
1 parent aa8cd81 commit 7f4b84e

File tree

1 file changed

+17
-23
lines changed

1 file changed

+17
-23
lines changed

.github/workflows/buildwheel.yml

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -80,29 +80,6 @@ jobs:
8080
name: sdist
8181
path: dist/*.tar.gz
8282

83-
test_docs:
84-
needs: build_wheels
85-
name: Test docs (build and doctest)
86-
runs-on: ubuntu-20.04
87-
88-
steps:
89-
- uses: actions/checkout@v4
90-
91-
- uses: actions/setup-python@v5
92-
with:
93-
python-version: '3.12'
94-
95-
- uses: actions/download-artifact@v4
96-
with:
97-
name: wheels-ubuntu-20.04
98-
path: wheelhouse
99-
100-
- run: pip install --upgrade pip
101-
- run: pip install -r requirements-dev.txt
102-
- run: pip install --no-index --find-links wheelhouse python_flint
103-
- run: pytest --doctest-glob='*.rst' doc/source
104-
- run: spin docs
105-
10683
test_wheels:
10784
needs: build_wheels
10885
name: Test ${{ matrix.python-version }} wheel on ${{ matrix.os }}
@@ -144,6 +121,23 @@ jobs:
144121
- run: pip install .
145122
- run: python -m flint.test --verbose
146123

124+
test_docs:
125+
name: Test docs (build and doctest)
126+
runs-on: ubuntu-20.04
127+
steps:
128+
- uses: actions/checkout@v4
129+
- uses: actions/setup-python@v5
130+
with:
131+
python-version: '3.12'
132+
- run: sudo apt-get update
133+
- run: sudo apt-get install libflint-dev
134+
135+
- run: pip install --upgrade pip
136+
- run: pip install -r requirements-dev.txt
137+
- run: pip install --no-index --find-links wheelhouse python_flint
138+
- run: pytest --doctest-glob='*.rst' doc/source
139+
- run: spin docs
140+
147141
# Test build with minimum Cython and meson-python versions.
148142
test_old_build_requires:
149143
name: 'Test old Cython/meson-python'

0 commit comments

Comments
 (0)