Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,24 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
- name: 'Set up Python'
uses: actions/setup-python@v5
with:
path: ~/.cache/pip
key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}
restore-keys: |
ubuntu-doc-
- name: 'Install Dependencies'
run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican
- name: 'Configure CPython'
run: ./configure --with-pydebug
- name: 'Build CPython'
run: make -j4
python-version: '3.12'
# - uses: actions/cache@v4
# with:
# path: ~/.cache/pip
# key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}
# restore-keys: |
# ubuntu-doc-
# - name: 'Install Dependencies'
# run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican
# - name: 'Configure CPython'
# run: ./configure --with-pydebug
# - name: 'Build CPython'
# run: make -j4
- name: 'Install build dependencies'
run: make -C Doc/ PYTHON=../python venv
run: make -C Doc/ PYTHON=python3 venv
# Use "xvfb-run" since some doctest tests open GUI windows
- name: 'Run documentation doctest'
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXERRORHANDLING="-W --keep-going" doctest
1 change: 1 addition & 0 deletions Doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# Sphinx version is pinned so that new versions that introduce new warnings
# won't suddenly cause build failures. Updating the version is fine as long
# as no warnings are raised by doing so.

sphinx~=8.0.0

blurb
Expand Down
Loading