From eb7e7c1579908f122c1743f91be1f3657137636b Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Sun, 25 Feb 2024 19:05:12 +0100 Subject: [PATCH] Compile messages in tox tests Signed-off-by: Emmy D'Anello --- .gitlab-ci.yml | 4 ++-- tox.ini | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5ab4e13..74fda60 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ py311: image: python:3.11-alpine before_script: - apk add --no-cache libmagic - - apk add --no-cache git # Useful for django-haystack, remove when the newer versions are in PyPI + - apk add --no-cache gettext git # Useful for django-haystack, remove when the newer versions are in PyPI - pip install tox --no-cache-dir script: tox -e py311 @@ -16,7 +16,7 @@ py312: image: python:3.12-alpine before_script: - apk add --no-cache libmagic - - apk add --no-cache git # Useful for django-haystack, remove when the newer versions are in PyPI + - apk add --no-cache gettext git # Useful for django-haystack, remove when the newer versions are in PyPI - pip install tox --no-cache-dir script: tox -e py312 diff --git a/tox.ini b/tox.ini index 946bc23..01c220e 100644 --- a/tox.ini +++ b/tox.ini @@ -28,6 +28,7 @@ deps = requests~=2.31.0 commands = + python manage.py compilemessages coverage run --source=api,draw,logs,participation,registration,tfjm ./manage.py test api/ draw/ logs/ participation/ registration/ tfjm/ coverage report -m