Skip to content

Commit

Permalink
CI: Build Sphinx docs in nitpicky mode
Browse files Browse the repository at this point in the history
This would've caught an accidentally commited markdown file.
  • Loading branch information
holesch committed Apr 11, 2024
1 parent 72cd716 commit f52e2bb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ name: on-push
on: [push]

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.12
- name: Install dependencies
run: |
pip install .[docs]
- name: Build Sphinx documentation
run: sphinx-build -n -W --keep-going doc doc/_build
static_checks:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f52e2bb

Please sign in to comment.