-
-
Notifications
You must be signed in to change notification settings - Fork 76
36 lines (33 loc) · 961 Bytes
/
tests.yml
File metadata and controls
36 lines (33 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_doc:
name: 'Build cpython doc'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: clone docsbuild scripts
run: |
git clone https://github.com/python/docsbuild-scripts/
- name: setup requirements
run: |
python -m pip install --upgrade pip
python -m pip install jinja2 markupsafe zc.lockfile
- name: build docs
run: |
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
- name: 'Upload'
uses: actions/upload-artifact@v2.2.2
with:
name: doc-html
path: www/