mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-20 12:50:33 +01:00
gitlab-ci: add test for checking po files
This commit is contained in:
parent
60b2e7452f
commit
a4f99bab1d
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue