Switch to uv and ruff; remove setup.py and pytest.ini #1251
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: Check that docs build | |
| on: | |
| pull_request: | |
| paths: | |
| - './docs/**.png' | |
| - './docs/book/content/theory/images/**.png' | |
| - './docs/book/**.yml' | |
| - './docs/book/**.bib' | |
| - '**.md' | |
| - './docs/book/content/api/**.rst' | |
| - './ogcore/**.py' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| python-version: "3.13" | |
| - name: Install package and dependencies | |
| run: uv sync --extra dev --extra docs | |
| - name: Build # Build Jupyter Book | |
| run: | | |
| uv run make documentation |