Skip to content

Commit 1e54774

Browse files
mnm-matinclaude
andcommitted
Install the dev extra CI's lint and test steps need
ruff and pytest are declared under [project.optional-dependencies].dev, which `uv run` does not install by default, so both steps died with "Failed to spawn: ruff" before running anything. The lockfile check had been masking this by failing first. Pass --extra dev to both. Reproduced the spawn failure locally with `uv run --no-dev` and confirmed the fixed commands report 253 passing tests and a clean ruff run. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent feb7b6f commit 1e54774

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ jobs:
3434
- name: Check lockfile
3535
run: uv lock --check
3636

37+
# ruff and pytest are declared in the `dev` extra, which uv does not
38+
# install by default; without it both steps fail to spawn their tool.
3739
- name: Lint
38-
run: uv run ruff check src tests examples
40+
run: uv run --extra dev ruff check src tests examples
3941

4042
- name: Test
41-
run: uv run pytest -q
43+
run: uv run --extra dev pytest -q
4244

4345
frontend:
4446
name: Frontend

0 commit comments

Comments
 (0)