Skip to content
Closed
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
29 changes: 17 additions & 12 deletions .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,25 @@ 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.13'
allow-prereleases: true
# - 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
Loading