From fd0f5c49a5d055a84831a8178b80f70d13eb4dab Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sat, 6 Oct 2018 14:24:47 +0200 Subject: [PATCH] Fix: fail the CI if flake8 fails (#8) Without 'set -e', an non-zero exit code from flake8 is simply ignored and test.sh continues. With 'set -e' it abort on the first non-zero exit code. --- test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.sh b/test.sh index e6b6f80..c8b44a9 100755 --- a/test.sh +++ b/test.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + echo "Running flake8 ..." flake8 dorpsgek_runner