From 3a3cd434c22f2e9bb1ad57c74cf534c6b8eec627 Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Mon, 20 Jul 2020 07:33:58 -0700 Subject: [PATCH] Add docs build CLI (#178) --- .github/workflows/tests.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c15a23f..3aabfd5e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,6 +53,29 @@ jobs: file: ./coverage.xml fail_ci_if_error: true + + docs: + + name: Test documentation build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e .[rtd] + + # Build the docs + - name: Build docs to store + run: | + cd docs + make html-strict + + publish: name: Publish to PyPi