Add uv project config and switch CI/Docker installs to uv

Agent-Logs-Url: https://github.com/dsaub/proyecto-final/sessions/7a547c09-9817-47a6-979e-c19cbcaa4c08

Co-authored-by: dsaub <54474838+dsaub@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-08 07:51:40 +00:00
committed by GitHub
parent 72def373e3
commit 580d60ec4f
5 changed files with 37 additions and 12 deletions
+4 -3
View File
@@ -19,15 +19,16 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Configurar uv
uses: astral-sh/setup-uv@v6
- name: Instalar dependencias
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
uv sync --no-dev --no-install-project
- name: Ejecutar tests
env:
DJANGO_SETTINGS_MODULE: proyecto.settings
run: |
python manage.py test
uv run python manage.py test
docker:
runs-on: ubuntu-latest
+4 -3
View File
@@ -16,15 +16,16 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Configurar uv
uses: astral-sh/setup-uv@v6
- name: Instalar dependencias
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
uv sync --no-dev --no-install-project
- name: Ejecutar tests
env:
DJANGO_SETTINGS_MODULE: proyecto.settings
run: |
python manage.py test
uv run python manage.py test
docker:
runs-on: ubuntu-latest
needs: test