build: split hive and presto tests to separate jobs (#10821)

* build: split hive and presto tests to separate jobs

* Must install doc dependencies, too
This commit is contained in:
Jesse Yang
2020-09-10 13:12:00 -07:00
committed by GitHub
parent 8a9ae811d0
commit dd7f3d5402
9 changed files with 191 additions and 213 deletions

36
.github/workflows/superset-docs.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
# Python linting and docs
name: Docs
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.7]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2.1.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
uses: apache-superset/cached-dependencies@b90713b
with:
run: |
apt-get-install
pip-upgrade
pip install -r requirements/testing.txt
pip install -r requirements/documentation.txt
- name: pylint
# `-j 0` run Pylint in parallel
run: pylint -j 0 superset
- name: pre-commit
run: pre-commit run --all-files
- name: Build documentation
run: sphinx-build -b html docs _build/html -W