From a4f99bab1d0539f2e25408697b266d5cf179b84f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 4 Sep 2020 09:51:12 +0200 Subject: [PATCH] gitlab-ci: add test for checking po files --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a56b122e90..273404082f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,9 +77,10 @@ checkpatch: image: fedora:32 stage: test script: - - date '+%Y%m%d-%H%M%S'; dnf install -y git black + - date '+%Y%m%d-%H%M%S'; dnf install -y git black gettext /usr/bin/xargs - date '+%Y%m%d-%H%M%S'; NM_CHECKPATCH_FETCH_UPSTREAM=1 contrib/scripts/checkpatch-feature-branch.sh 2>&1 | tee checkpatch-out.txt - date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set + - date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc allow_failure: true artifacts: when: on_failure