config(jules): limit max concurrent tasks to 2 to prevent merge confl… #10
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] | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout Papyrus | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.14" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Sync | |
| run: uv sync --all-extras --dev | |
| - name: Lint | |
| run: uv run ruff check . | |
| - name: Type Check | |
| run: uv run ty check papyrus --python-version 3.14 | |
| - name: Tests | |
| run: uv run pytest tests/ -q | |
| - name: Prune cache | |
| if: always() | |
| run: uv cache prune --ci |