diff options
-rw-r--r-- | .gitlab-ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1987d5e9..7bd23774 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,3 +46,10 @@ test-ubuntu: - python3 setup.py install - py.test -v test/ - pylint -E poezio + +formatting-check: + stage: test + image: poezio/test-base:latest + script: + - pip3 install yapf + - [ -n "$(yapf -dpr poezio)" ] && echo "yapf check failure" && exit 1 |