Skip to content

Commit e31ff65

Browse files
committed
Add separate rst doctest job
1 parent a6f9755 commit e31ff65

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

.github/workflows/buildwheel.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,28 @@ jobs:
7575
with:
7676
path: dist/*.tar.gz
7777

78+
test_rst:
79+
needs: build_wheels
80+
name: Test rst docs
81+
runs-on: ubuntu-20.04
82+
83+
steps:
84+
- uses: actions/checkout@v3
85+
86+
- uses: actions/setup-python@v4
87+
with:
88+
python-version: '3.12'
89+
90+
- uses: actions/download-artifact@v3
91+
with:
92+
name: artifact
93+
path: wheelhouse
94+
95+
- run: pip install --upgrade pip
96+
- run: pip install pytest
97+
- run: pip install --no-index --find-links wheelhouse python_flint
98+
- run: pytest --doctest-glob='*.rst' doc/source
99+
78100
test_wheels:
79101
needs: build_wheels
80102
name: Test ${{ matrix.python-version }} wheel on ${{ matrix.os }}
@@ -93,10 +115,8 @@ jobs:
93115
with:
94116
name: artifact
95117
path: wheelhouse
96-
- run: pip install pytest
97118
- run: pip install --no-index --find-links wheelhouse python_flint
98119
- run: python -m flint.test --verbose
99-
- run: pytest --doctest-glob='*.rst' doc/source
100120

101121
test_pip_vcs_sdist:
102122
name: pip install ${{ matrix.target }} on ${{ matrix.python-version }}

0 commit comments

Comments
 (0)