From 18dc0355fe67fcf353cfea394fece9ca3e70b4a6 Mon Sep 17 00:00:00 2001 From: Joren Vrancken Date: Fri, 5 Oct 2018 15:47:48 +0200 Subject: [PATCH] Add obsolete translations check to CI --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61f8e61c..3f49d355 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,14 @@ stages: - test - deploy +obsolete-translations: + stage: test + image: $PY37_IMAGE + cache: {} + script: + # Check for obsolete translations in .po files (starting with `#~`). + - (grep --include="*.po" --quiet --recursive --regexp "^#~" website && exit 1) || exit 0 + pep8: stage: test image: $PY36_IMAGE -- GitLab