mirror of
https://github.com/apache/superset.git
synced 2026-04-10 03:45:22 +00:00
Add documentation build to Github Actions (#9569)
* Add documentation build to Github Actions * Update requirements for documentation builds * Minor optimization - only install requirements for documentation in documentation job
This commit is contained in:
23
.github/workflows/superset-python.yml
vendored
23
.github/workflows/superset-python.yml
vendored
@@ -29,6 +29,29 @@ jobs:
|
||||
# `-j 0` run Pylint in parallel
|
||||
run: pylint -j 0 superset
|
||||
|
||||
docs:
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.6]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
uses: apache-superset/cached-dependencies@adc6f73
|
||||
with:
|
||||
run: |
|
||||
pip-install
|
||||
pip install -r docs/requirements.txt
|
||||
- name: Copy Images
|
||||
run: cp -r superset-frontend/images/ docs/_static/images/
|
||||
- name: Build documentation
|
||||
run: sphinx-build -b html docs _build/html -W
|
||||
|
||||
test-postgres:
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
|
||||
Reference in New Issue
Block a user