Add meta-command architecture for job entry points #166
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: Validate | |
| on: | |
| pull_request: | |
| branches: [main] | |
| merge_group: | |
| types: [checks_requested] | |
| # Note: Don't use branches filter here - merge queue refs like | |
| # gh-readonly-queue/main/pr-N-xxx don't match simple branch globs | |
| workflow_dispatch: | |
| # Minimal permissions for this workflow | |
| permissions: | |
| contents: read | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Check formatting (ruff) | |
| run: | | |
| uv run ruff format --check src/ tests/ | |
| uv run ruff check src/ tests/ | |
| - name: Run tests | |
| run: uv run pytest tests/ -v |