feat: improved UX
CI / test (push) Successful in 58s
CI / build (push) Successful in 29s

This commit is contained in:
2026-07-20 11:21:29 +02:00
parent 96738bf7d5
commit 73109a268b
17 changed files with 657 additions and 192 deletions
+1 -8
View File
@@ -20,13 +20,6 @@ jobs:
git checkout ${{ gitea.sha }}
- name: Install system dependencies
# libpango/libpangocairo + fuentes: las necesita WeasyPrint en
# tiempo de ejecución para generar el PDF del patrón (ver
# PatternPdfView y crochet/tests/test_pdf.py); sin fuentes
# instaladas, Pango no tiene nada que medir/dibujar y WeasyPrint
# termina haciendo segfault en vez de fallar con un error legible
# (mismo motivo por el que el Dockerfile instala pango + ttf-dejavu
# en Alpine).
run: |
apt-get update -qq
apt-get install -y --no-install-recommends libpango-1.0-0 libpangocairo-1.0-0 fonts-dejavu-core gettext
@@ -41,7 +34,7 @@ jobs:
run: uv run python manage.py compilemessages
- name: Run tests
run: uv run pytest
run: uv run pytest --cov
build:
runs-on: ubuntu-latest