Skip to content

Commit e4fd29c

Browse files
fix: Update Makefile to use proper dependency sync for tests
- Use 'uv sync --extra dev' to install test dependencies instead of manual pip install - Remove --no-sync flag to use the properly synced environment with all dependencies - This fixes CI test failures due to missing docker module and other dependencies Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-f299797b-2a6a-4934-81b2-17bf534552a8
1 parent 5847117 commit e4fd29c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ audit:
4040
./scripts/dependency_audit.sh
4141

4242
coverage:
43-
uv pip install pytest pytest-asyncio pytest-cov
44-
uv run --no-sync python -m pytest --cov=src --cov-report=term-missing --cov-fail-under=66
43+
uv sync --extra dev
44+
uv run python -m pytest --cov=src --cov-report=term-missing --cov-fail-under=66
4545

4646
scan-images:
4747
@if [ "$(SBOM_OUTPUT)" = "1" ]; then mkdir -p $(SBOM_DIR); fi

0 commit comments

Comments
 (0)