[3.9] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) #42537
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
#push: | |
# branches: | |
# - master | |
# - 3.9 | |
# - 3.8 | |
# - 3.7 | |
# paths: | |
# - 'Doc/**' | |
pull_request: | |
branches: | |
- master | |
- 3.9 | |
- 3.8 | |
- 3.7 | |
paths: | |
- 'Doc/**' | |
- 'Misc/**' | |
jobs: | |
build_doc: | |
name: 'Docs' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
- name: 'Build documentation' | |
run: xvfb-run make -C Doc/ PYTHON=../python SPHINXOPTS="-q -W -j4" doctest suspicious html | |
- name: 'Upload' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: doc-html | |
path: Doc/build/html |