feat: added tests
This commit is contained in:
@@ -19,6 +19,18 @@ jobs:
|
||||
git clone https://git.spookydev.com/${{ gitea.repository }}.git .
|
||||
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
|
||||
|
||||
- name: Install uv
|
||||
run: pip install uv --quiet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user