Adding mypy check and test #252
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: Build Docs | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: | |
| - master | |
| - 'staging-*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| - name: Install pandoc | |
| run: | | |
| sudo apt install -y pandoc | |
| - name: Install Python dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: Build docs | |
| run: | | |
| cd docs && uv run make html |