Skip to content

Commit 688f3ef

Browse files
authored
Merge pull request #94 from AA-Turner/sphinx-5
2 parents 1201e82 + b08ad16 commit 688f3ef

File tree

1 file changed

+22
-18
lines changed

1 file changed

+22
-18
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
1-
---
2-
31
name: Tests
42

53
on:
64
push:
7-
branches:
8-
- master
95
pull_request:
10-
branches:
11-
- master
6+
workflow_dispatch:
127

138
jobs:
149
build_doc:
15-
name: 'Build cpython doc'
10+
name: Build CPython documentation
1611
runs-on: ubuntu-latest
1712
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-python@v2
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v4
2015
with:
21-
python-version: 3.8
22-
- name: clone docsbuild scripts
16+
python-version: 3
17+
- name: Clone docsbuild scripts
2318
run: |
2419
git clone https://github.com/python/docsbuild-scripts/
25-
- name: setup requirements
20+
- name: Set up requirements
2621
run: |
2722
python -m pip install --upgrade pip
28-
python -m pip install jinja2 markupsafe zc.lockfile
29-
- name: build docs
30-
run: |
31-
python3 ./docsbuild-scripts/build_docs.py --quick --build-root ./build_root --www-root ./www --log-directory ./logs --group $(id -g) --skip-cache-invalidation --theme $(pwd) --language en --branch 3.9
32-
- name: 'Upload'
33-
uses: actions/upload-artifact@v2.2.2
23+
python -m pip install -r docsbuild-scripts/requirements.txt
24+
- name: Build documentation
25+
run: >
26+
python ./docsbuild-scripts/build_docs.py
27+
--quick
28+
--build-root ./build_root
29+
--www-root ./www
30+
--log-directory ./logs
31+
--group $(id -g)
32+
--skip-cache-invalidation
33+
--theme $(pwd)
34+
--language en
35+
--branch 3.11
36+
- name: Upload
37+
uses: actions/upload-artifact@v3
3438
with:
3539
name: doc-html
3640
path: www/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy