gitlab-ci: enable python black check in gitlab-ci

This commit is contained in:
Thomas Haller
2020-06-19 12:43:38 +02:00
parent 70f3ad6785
commit 8c3ee4e857

View File

@@ -77,8 +77,9 @@ checkpatch:
image: fedora:32
stage: test
script:
- date '+%Y%m%d-%H%M%S'; dnf install -y git
- date '+%Y%m%d-%H%M%S'; dnf install -y git black
- 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 .
allow_failure: true
artifacts:
when: on_failure