mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.11] GH-103903: Test the minimum Sphinx version in CI (GH-103904).
(cherry picked from commit 44b5c21f41)
This commit is contained in:
parent
838bc90511
commit
dbc44fab7a
4 changed files with 64 additions and 5 deletions
20
.github/workflows/doc.yml
vendored
20
.github/workflows/doc.yml
vendored
|
|
@ -59,6 +59,26 @@ jobs:
|
|||
name: doc-html
|
||||
path: Doc/build/html
|
||||
|
||||
# This build doesn't use problem matchers or check annotations
|
||||
# It also does not run 'make check', as sphinx-lint is not installed into the
|
||||
# environment.
|
||||
build_doc_oldest_supported_sphinx:
|
||||
name: 'Docs (Oldest Sphinx)'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: 'Set up Python'
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.11' # known to work with Sphinx 3.2
|
||||
cache: 'pip'
|
||||
cache-dependency-path: 'Doc/requirements-oldest-sphinx.txt'
|
||||
- name: 'Install build dependencies'
|
||||
run: make -C Doc/ venv REQUIREMENTS="requirements-oldest-sphinx.txt"
|
||||
- name: 'Build HTML documentation'
|
||||
run: make -C Doc/ SPHINXOPTS="-q" SPHINXERRORHANDLING="-W --keep-going" html
|
||||
|
||||
# Run "doctest" on HEAD as new syntax doesn't exist in the latest stable release
|
||||
doctest:
|
||||
name: 'Doctest'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue