Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 57affc0

Browse filesBrowse files
committed
Update test workflow
1 parent 1201e82 commit 57affc0
Copy full SHA for 57affc0

1 file changed

+21-17Lines changed: 21 additions & 17 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/tests.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/tests.yml
+21-17Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,39 @@
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: Setup 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'
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
3337
uses: actions/upload-artifact@v2.2.2
3438
with:
3539
name: doc-html

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.