• Home
  • Raw
  • Download

Lines Matching +full:keep +full:- +full:going

11   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12 cancel-in-progress: true
20 runs-on: ubuntu-latest
21 timeout-minutes: 60
28 - name: 'Check out latest PR branch commit'
31 ref: >-
37 # Adapted from https://github.com/actions/checkout/issues/520#issuecomment-1167205721
38 - name: 'Fetch commits to get branch diff'
41 # Fetch enough history to find a common ancestor commit (aka merge-base):
42 …git fetch origin ${{ env.refspec_pr }} --depth=$(( ${{ github.event.pull_request.commits }} + 1 ))…
43 --no-tags --prune --no-recurse-submodules
46 …COMMON_ANCESTOR=$( git rev-list --first-parent --max-parents=0 --max-count=1 ${{ env.branch_pr }} )
47 DATE=$( git log --date=iso8601 --format=%cd "${COMMON_ANCESTOR}" )
50 git fetch origin ${{ env.refspec_base }} --shallow-since="${DATE}" \
51 --no-tags --prune --no-recurse-submodules
52 - name: 'Set up Python'
53 uses: actions/setup-python@v5
55 python-version: '3'
57 cache-dependency-path: 'Doc/requirements.txt'
58 - name: 'Install build dependencies'
59 run: make -C Doc/ venv
62 - name: 'Build HTML documentation'
63 continue-on-error: true
65 set -Eeuo pipefail
66 # Build docs with the '-n' (nit-picky) option; write warnings to file
67 make -C Doc/ PYTHON=../python SPHINXOPTS="-q -n -W --keep-going -w sphinx-warnings.txt" html
68 - name: 'Check warnings'
71 python Doc/tools/check-warnings.py \
72 --annotate-diff '${{ env.branch_base }}' '${{ env.branch_pr }}' \
73 --fail-if-regression \
74 --fail-if-improved \
75 --fail-if-new-news-nit
80 runs-on: ubuntu-latest
81 timeout-minutes: 60
83 - uses: actions/checkout@v4
84 - name: 'Set up Python'
85 uses: actions/setup-python@v5
87 python-version: '3.13' # known to work with Sphinx 7.2.6
89 cache-dependency-path: 'Doc/requirements-oldest-sphinx.txt'
90 - name: 'Install build dependencies'
91 run: make -C Doc/ venv REQUIREMENTS="requirements-oldest-sphinx.txt"
92 - name: 'Build HTML documentation'
93 run: make -C Doc/ SPHINXOPTS="-q" SPHINXERRORHANDLING="-W --keep-going" html
98 runs-on: ubuntu-22.04
99 timeout-minutes: 60
101 - uses: actions/checkout@v4
102 - uses: actions/cache@v4
105 key: ubuntu-doc-${{ hashFiles('Doc/requirements.txt') }}
106 restore-keys: |
107 ubuntu-doc-
108 - name: 'Install Dependencies'
109 run: sudo ./.github/workflows/posix-deps-apt.sh && sudo apt-get install wamerican
110 - name: 'Configure CPython'
111 run: ./configure --with-pydebug
112 - name: 'Build CPython'
113 run: make -j4
114 - name: 'Install build dependencies'
115 run: make -C Doc/ PYTHON=../python venv
116 # Use "xvfb-run" since some doctest tests open GUI windows
117 - name: 'Run documentation doctest'
118 run: xvfb-run make -C Doc/ PYTHON=../python SPHINXERRORHANDLING="-W --keep-going" doctest