Run doctests in GitHub actions Docs targer (GH-18041)
This commit is contained in:
parent
ef8844f1bc
commit
6aabb63d96
|
@ -23,17 +23,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: actions/setup-python@v1
|
- name: 'Install Dependencies'
|
||||||
with:
|
run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican
|
||||||
python-version: '3.7'
|
- name: 'Configure CPython'
|
||||||
architecture: 'x64'
|
run: ./configure --with-pydebug
|
||||||
|
- name: 'Build CPython'
|
||||||
|
run: make -s -j4
|
||||||
- name: 'Install build dependencies'
|
- name: 'Install build dependencies'
|
||||||
run: python -m pip install sphinx==2.2.0 blurb python-docs-theme
|
run: make -C Doc/ PYTHON=../python venv
|
||||||
- name: 'Build documentation'
|
- name: 'Build documentation'
|
||||||
run: |
|
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest suspicious html
|
||||||
cd Doc
|
- name: 'Upload'
|
||||||
make check suspicious html PYTHON=python
|
|
||||||
- name: Upload
|
|
||||||
uses: actions/upload-artifact@v1
|
uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: doc-html
|
name: doc-html
|
||||||
|
|
Loading…
Reference in New Issue