extend-select
and additional ruff rules
#156
Workflow file for this run
This file contains hidden or 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: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
report: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3"] | |
steps: | |
- name: Apt update | |
run: sudo apt update | |
- name: Install graphviz | |
run: | | |
sudo apt install -y graphviz | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
allow-prereleases: true | |
- name: Install | |
run: | | |
pip install -r doc-requirements.txt | |
pip install . | |
- name: Show environment | |
run: env | |
- name: Build documentation | |
run: | | |
cd doc | |
make html | |
- name: Run documentation doctests | |
run: | | |
cd doc | |
make clean | |
make doctest |