Merge pull request #16 from eman/bugfix/pages-deploy-retry #92
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| proto-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| allow-prereleases: true | |
| - run: pip install -e ".[dev]" | |
| - name: Verify generated protobuf stubs are up to date | |
| run: | | |
| ./scripts/regen_protos.sh | |
| git diff --exit-code -- src/quilt_hp/_proto | |
| lint: | |
| needs: proto-sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| allow-prereleases: true | |
| - run: pip install -e ".[dev,cli]" | |
| - run: ruff check src/ tests/ | |
| - run: ruff format --check src/ tests/ | |
| - run: mypy src/quilt_hp/ | |
| test: | |
| needs: proto-sync | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| allow-prereleases: true | |
| - run: pip install -e ".[dev,cli]" | |
| - run: pytest | |
| package: | |
| needs: proto-sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| allow-prereleases: true | |
| - run: pip install -e ".[dev]" | |
| - run: python -m build | |
| - run: twine check dist/* | |
| docs: | |
| needs: proto-sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.14" | |
| allow-prereleases: true | |
| - run: pip install -e ".[docs]" | |
| - run: python scripts/check_docs_nav.py | |
| - run: mkdocs build --strict |