mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-13 07:22:35 +03:00
Use --locked
when sync deps on CI
This commit is contained in:
parent
68c230baf6
commit
ae6e8f1a21
|
@ -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%}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user