Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
all_jobs:
runs-on: ubuntu-latest
needs: [formatting, pytest]
needs: [formatting, type-checking, pytest]
steps:
- name: Complete
run: echo "Complete"
Expand Down Expand Up @@ -50,6 +50,29 @@ jobs:
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

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pdex"
version = "0.1.16"
version = "0.1.17"
description = "Parallel differential expression for single-cell perturbation sequencing"
readme = "README.md"
authors = [{ name = "noam teyssier", email = "noam.teyssier@arcinstitute.org" }]
Expand All @@ -23,7 +23,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[dependency-groups]
dev = ["pytest>=8.3.5", "ruff>=0.11.8"]
dev = ["pyright>=1.1.402", "pytest>=8.3.5", "ruff>=0.11.8"]

[tool.pyright]
venvPath = "."
Expand Down