Use --locked when sync deps on CI

This commit is contained in:
Bruno Alla 2025-09-07 13:37:24 +01:00
parent 68c230baf6
commit ae6e8f1a21
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ steps:
{%- else %}
image: ghcr.io/astral-sh/uv:python3.12
commands:
- uv sync --frozen
- uv sync --locked
- uv run pytest
{%- endif%}

View File

@ -118,7 +118,7 @@ jobs:
python-version-file: ".python-version"
- name: Install dependencies
run: uv sync
run: uv sync --locked
- name: Check DB Migrations
run: uv run python manage.py makemigrations --check

View File

@ -45,7 +45,7 @@ pytest:
variables:
DATABASE_URL: pgsql://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres/$POSTGRES_DB
before_script:
- uv sync --frozen
- uv sync --locked
script:
- uv run pytest
{%- endif %}