Skip to content

Commit b02e2b5

Browse files
committed
fix: Install package in editable mode and fixed lint typo
- Add 'uv pip install -e .' to both test and lint workflows - Fix typo: 'uv ran' → 'uv run' in lint workflow - Resolves ModuleNotFoundError in GitHub Actions
1 parent a2c2e34 commit b02e2b5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
run: uv python install 3.12
2323

2424
- name: Install dependencies
25-
run: uv sync
26-
25+
run: |
26+
uv sync
27+
uv pip install -e .
28+
2729
- name: Run ruff check
2830
run: uv run ruff check .
2931

3032
- name: Run ruff format check
31-
run: uv ran ruff format --check .
33+
run: uv run ruff format --check .
3234

3335
- name: Run mypy
3436
run: uv run mypy src/

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
uv sync
31-
31+
uv pip install -e .
32+
3233
- name: Run tests with pytest
3334
run: |
3435
uv run pytest --cov=radar_plotter --cov-report=xml --cov-report=term-missing

0 commit comments

Comments
 (0)