summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-09-04 09:51:12 +0200
committerThomas Haller <thaller@redhat.com>2020-09-04 10:11:41 +0200
commita4f99bab1d0539f2e25408697b266d5cf179b84f (patch)
tree975ea7ff00583e6f5720a72677da81b2c1189eae
parent60b2e7452f829d9bcbdfc1acb98f64690fd86349 (diff)
downloadNetworkManager-th/po-fix-fr-ja-zh_CN.tar.gz
gitlab-ci: add test for checking po filesth/po-fix-fr-ja-zh_CN
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
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