Merge pull request #1 from aronbierbaum/github_actions #11
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
on: [push, pull_request] | |
name: build-docs | |
jobs: | |
tests: | |
runs-on: ubuntu-22.04 | |
name: Build docs | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
architecture: x64 | |
- name: Update tools | |
run: pip install --upgrade pip setuptools wheel | |
- name: Install sphinx | |
run: pip install sphinx | |
- name: Install package | |
run: pip install -e . | |
- name: Build docs | |
run: cd docs && make html |