From b42a1ca154d824be87ea14a21d2164ad00a64a5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 30 Nov 2019 22:04:07 +0100 Subject: Fail CI on any pylint errors We now call pylint multipletimes, until now only the last command return code was evaluated --- scripts/dev/pylint-ci.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/dev/pylint-ci.sh b/scripts/dev/pylint-ci.sh index 0ae2cfd9a..64cf45784 100755 --- a/scripts/dev/pylint-ci.sh +++ b/scripts/dev/pylint-ci.sh @@ -1,4 +1,8 @@ #!/bin/sh + +# exit when any command fails +set -e + PYLINT=${PYLINT:-pylint} "$PYLINT" --version -- cgit v1.2.3