feat: improved UX
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user