summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-01-16 00:06:34 +0100
committermathieui <mathieui@mathieui.net>2018-01-16 00:06:34 +0100
commitf332c032172af3a4b547671ce38dc80c1cd1dba9 (patch)
treefb0a94404c671bc4e78b862c223c829ddb751f2e
parent323b77c2f4e94f063ba32924f475b1021d7e7a7f (diff)
downloadpoezio-f332c032172af3a4b547671ce38dc80c1cd1dba9.tar.gz
poezio-f332c032172af3a4b547671ce38dc80c1cd1dba9.tar.bz2
poezio-f332c032172af3a4b547671ce38dc80c1cd1dba9.tar.xz
poezio-f332c032172af3a4b547671ce38dc80c1cd1dba9.zip
Include the yapf diff in gitlab-ci output
unfortunately, I’m lazy and it's easier to run the job twice
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e504d301..fb966f0c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,4 +52,5 @@ formatting-check:
image: poezio/test-base:latest
script:
- pip3 install yapf
+ - yapf -dpr poezio
- "[ -n \"$(yapf -dpr poezio)\" ] && echo 'Formatting check failed, please run yapf' && exit 1 || echo 'Formatting check succeeded'"