From 521abfeaecce0ddc7b701b499ed2704f4728f8f0 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Mon, 12 Apr 2021 18:53:16 +0200 Subject: [PATCH] Test Github action to validate the theme against docsbuild scripts. --- .github/workflows/tests.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..0462f5e --- /dev/null +++ b/.github/workflows/tests.yml @@ -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/ 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