Update CI and workflows for Python 3.12 support #745
Workflow file for this run
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: Doc build | |
on: | |
pull_request | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies and local packages | |
run: python -m pip install .[docs] | |
- name: Build HTML documentation with Sphinx | |
run: | | |
cd docs | |
python -m sphinx -b html -W source build |