From b36f37fd1e337fbd27f5be9e9e19436ef7a07511 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 13 Feb 2021 09:51:26 +0100 Subject: [PATCH] CI: fail if translations are encoded incorrectly --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 17f3783..c3e2684 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ build: script: + - file src/main/resources/language/translation_de.properties | rg UTF-8 - mvn -Dmaven.repo.local=/tmp/m2/repository -Duser.home=/tmp checkstyle:check jacoco:prepare-agent test jacoco:report - python3 /opt/cover2cover.py target/site/jacoco/jacoco.xml src/main/java > target/site/cobertura.xml - python3 /opt/source2filename.py target/site/cobertura.xml