docs: add AGENTS.md, CONTRIBUTING, canonical commands, Makefile targets, and pre-commit hooks #28
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: | |
| - "**" | |
| pull_request: | |
| jobs: | |
| checks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Sync dependencies | |
| run: uv sync --frozen --extra dev | |
| - name: Lint (black) | |
| run: uv run black --check adeptly tests | |
| - name: Type check (mypy) | |
| run: uv run mypy adeptly tests | |
| - name: Test (pytest) | |
| run: uv run pytest -q |