gitlab-ci: enable python black check in gitlab-ci
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user