Update _single_cell.py #136
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: "CI" | |
| on: [push, pull_request] | |
| jobs: | |
| all_jobs: | |
| runs-on: ubuntu-latest | |
| needs: [formatting, type-checking, pytest] | |
| steps: | |
| - name: Complete | |
| run: echo "Complete" | |
| install-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| python-version: "3.12" | |
| - name: install dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| formatting: | |
| runs-on: ubuntu-latest | |
| needs: [install-job] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| python-version: "3.12" | |
| - name: install dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: run formatting | |
| run: | | |
| uv run ruff format --check | |
| type-checking: | |
| runs-on: ubuntu-latest | |
| needs: [install-job] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| python-version: "3.12" | |
| - name: install dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: run type checking | |
| run: | | |
| uv run pyright | |
| pytest: | |
| runs-on: ubuntu-latest | |
| needs: [install-job] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "pyproject.toml" | |
| python-version: "3.12" | |
| - name: install dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| - name: run pytest | |
| run: | | |
| uv run pytest -v |