summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-06-19 12:43:38 +0200
committerThomas Haller <thaller@redhat.com>2020-06-19 12:58:52 +0200
commit8c3ee4e8574d84258f34068486b33e10f0e87313 (patch)
treecbbe7aca0cb4c45f0af9980576dd1c36f4558452
parent70f3ad6785d9e0e6a65b10789d7322ab802afb03 (diff)
downloadNetworkManager-8c3ee4e8574d84258f34068486b33e10f0e87313.tar.gz
gitlab-ci: enable python black check in gitlab-ci
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa5ad46ad4..389da67218 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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