Skip to content

Commit 126a675

Browse files
committed
fix: test scritp exit code
1 parent c45b3c2 commit 126a675

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env bash
2+
set -e
23

34
# Run unit tests
45
python -m nose core_tests/unit
@@ -7,4 +8,4 @@ python -m nose core_tests/unit
78
python -m flake8 --max-line-length=120 core core_tests data products tests
89
python -m pylint --disable=locally-disabled --rcfile=.pylintrc core data products
910
find core_tests | grep .py | grep -v .pyc | xargs python -m pylint --disable=locally-disabled --rcfile=.pylintrc
10-
find tests | grep .py | grep -v .pyc | xargs python -m pylint --disable=locally-disabled --min-similarity-lines=15 --rcfile=.pylintrc
11+
find tests | grep .py | grep -v .pyc | xargs python -m pylint --disable=locally-disabled --min-similarity-lines=15 --rcfile=.pylintrc

0 commit comments

Comments
 (0)