Skip to content

extend-select and additional ruff rules #156

extend-select and additional ruff rules

extend-select and additional ruff rules #156

Workflow file for this run

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