diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61f8e61c313d5b00a3ca4beb28edb73e0e16275d..3f49d355cf14c6d9d0bac84f530e8d1d6371af42 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