diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 151a2ec..b979ef1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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+%)/'