Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6d56e32

Browse files
authored
Test Github action to validate the theme against docsbuild scripts. (#69)
1 parent0f18f09 commit6d56e32

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

‎.github/workflows/tests.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name:Tests
2+
3+
on:
4+
push:
5+
branches:
6+
-master
7+
pull_request:
8+
branches:
9+
-master
10+
11+
jobs:
12+
build_doc:
13+
name:'Build cpython doc'
14+
runs-on:ubuntu-latest
15+
steps:
16+
-uses:actions/checkout@v2
17+
-uses:actions/setup-python@v2
18+
with:
19+
python-version:3.7
20+
-name:clone docsbuild scripts
21+
run:|
22+
git clone https://github.com/python/docsbuild-scripts/
23+
-name:setup requirements
24+
run:|
25+
python -m pip install --upgrade pip
26+
python -m pip install jinja2 markupsafe
27+
-name:build docs
28+
run:|
29+
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
30+
-name:'Upload'
31+
uses:actions/upload-artifact@v2.2.2
32+
with:
33+
name:doc-html
34+
path:www/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp