Skip to content
This repository has been archived by the owner on Sep 1, 2019. It is now read-only.

Commit

Permalink
Fix: fail the CI if flake8 fails (#8)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TrueBrain committed Oct 6, 2018
1 parent 11aedf3 commit fd0f5c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.sh
@@ -1,5 +1,7 @@
#!/bin/sh

set -e

echo "Running flake8 ..."
flake8 dorpsgek_runner

Expand Down

0 comments on commit fd0f5c4

Please sign in to comment.