FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Test Github action to validate the theme against docsbuild scripts. by JulienPalard · Pull Request #69 · python/python-docs-theme · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
34 changes: 34 additions & 0 deletions .github/workflows/tests.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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.7
- 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
- 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/

Back | FazBrowse Home | New Git URL