gitlab-ci: use "nm-python-black-format.sh" script on "check-tree"

This commit is contained in:
Thomas Haller 2022-04-01 13:50:19 +02:00
parent 12299ee91e
commit bb605eabc6
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
2 changed files with 7 additions and 7 deletions

View file

@ -47,11 +47,11 @@ variables:
#
# This is done by running `ci-fairy generate-template` and possibly bump
# ".default_tag".
FEDORA_TAG: '2022-03-15.0-a017895d3124'
UBUNTU_TAG: '2022-03-15.0-0d592fa70bc5'
DEBIAN_TAG: '2022-03-15.0-0d592fa70bc5'
CENTOS_TAG: '2022-03-15.0-a017895d3124'
ALPINE_TAG: '2022-03-15.0-65bef47ff3ce'
FEDORA_TAG: '2022-03-15.0-7b3d39bfc5ca'
UBUNTU_TAG: '2022-03-15.0-2cd0d40675ab'
DEBIAN_TAG: '2022-03-15.0-2cd0d40675ab'
CENTOS_TAG: '2022-03-15.0-7b3d39bfc5ca'
ALPINE_TAG: '2022-03-15.0-17672b94a192'
FEDORA_EXEC: 'bash .gitlab-ci/fedora-install.sh'
UBUNTU_EXEC: 'bash .gitlab-ci/debian-install.sh'
@ -980,7 +980,7 @@ check-tree:
- "fedora:35@container-prep"
stage: test
script:
- date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code

View file

@ -220,7 +220,7 @@ check-tree:
- "{{pages_build.name}}:{{pages_build.version}}@container-prep"
stage: test
script:
- date '+%Y%m%d-%H%M%S'; black --check . examples/python/gi/nm-wg-set
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-python-black-format.sh --check
- date '+%Y%m%d-%H%M%S'; git ls-files -z -- 'po/*.po' | xargs -0 -n1 msgfmt -vc
- date '+%Y%m%d-%H%M%S'; contrib/scripts/nm-code-format.sh -n
- date '+%Y%m%d-%H%M%S'; ci-fairy generate-template && git diff --exit-code