uv 2 #7
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: Documentation | |
| on: [push, pull_request] | |
| jobs: | |
| sphinx-build: | |
| name: Run sphinx-build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 # fetch the entire repo history, required to guarantee versioneer will pick up the tags | |
| - uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| # Build HTML and LaTeX docs | |
| # Treat all warnings as errors and "keep-going" to collect all warnings | |
| - run: uv run sphinx-build --fail-on-warning --keep-going docs/ docs/_build |