Tackle Typing and Linting Errors #194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build the documentation | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the branch | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Build the documentation with Sphinx | |
run: | | |
pip install -e '.[dev]' | |
sphinx-build -b html docs docs/build/html |