name: CI on: push: branches: ["**"] pull_request: branches: ["**"] jobs: lint: name: Lint & Format runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: "3.11" cache: pip - run: pip install ".[dev]" - run: ruff check . && ruff format --check . && mypy pyfragment --explicit-package-bases test: name: Tests (Python ${{ matrix.python-version }}) runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} cache: pip - name: Install package and dev dependencies run: pip install ".[dev]" - name: Run tests run: pytest