name: CI on: push: branches: [main] pull_request: permissions: contents: read jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v6 with: python-version: ${{ matrix.python-version }} - name: Install lightweight test environment run: | uv venv uv pip install -e . --no-deps uv pip install pytest ruff build httpx mutagen numpy pydantic fastapi aiohttp pyyaml - name: Lint run: .venv/bin/ruff check . - name: Test run: .venv/bin/pytest - name: Build distributions if: matrix.python-version == '3.11' run: .venv/bin/python -m build