fix: use uv sync --extra dev to install pyright and other dev tools

This commit is contained in:
2026-02-04 01:17:35 +00:00
parent c966fdfe21
commit 5298df5e72

View File

@@ -18,9 +18,7 @@ cache:
image: python:3.12-slim
before_script:
- pip install uv
- uv venv
- source .venv/bin/activate
- uv sync --dev
- uv sync --extra dev
# Linting stage
ruff-lint:
@@ -55,9 +53,7 @@ pyright:
stage: test
before_script:
- pip install uv
- uv venv
- source .venv/bin/activate
- uv sync --dev
- uv sync --extra dev
script:
- uv run pytest --cov=fastapi_traffic --cov-report=xml --cov-report=term
coverage: '/TOTAL.*\s+(\d+%)/'