Skip to content

Revert "fix: make gha checks (docs, build, etc) triggered by main wor… #3527

Revert "fix: make gha checks (docs, build, etc) triggered by main wor…

Revert "fix: make gha checks (docs, build, etc) triggered by main wor… #3527

Workflow file for this run

name: docs
on: [push, pull_request]
jobs:
check-documentation:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Setup software environment
run: |
sudo apt update
sudo apt install -y openmpi-bin libopenmpi-dev
- name: Setup Python environment
run: |
python -m pip install --upgrade pip
pip install -e .[docs]
- name: Build documentation, nitpick, and fail on warnings
run: cd docs && sphinx-build -nW -b html . _build/html