diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59ece58c..3807260a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,3 +35,19 @@ jobs: run: python -m unittest tests/imports.py - name: Run pytest suite run: pytest + build_docs: + runs-on: ubuntu-22.04 + defaults: + run: + working-directory: ./docs + steps: + - name: Checkout Forest code from GitHub repo + uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.8 + - name: Install documentation build dependencies + run: pip install -r requirements.txt + - name: Build the docs + run: make html SPHINXOPTS="-W"