Skip to content

Commit

Permalink
CI: confine tests to local directory, ignore main.py for now
Browse files Browse the repository at this point in the history
  • Loading branch information
richteer authored and sjrct committed Oct 23, 2017
1 parent 048ad4f commit 0ae20cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

command -v python 2>&1 >/dev/null && { PYTHON=python; }
command -v python3 2>&1 >/dev/null && { PYTHON=python3; }
command -v coverage 2>&1 >/dev/null && { coverage erase; PYTHON="coverage run -a"; }
command -v coverage 2>&1 >/dev/null && { coverage erase; PYTHON="coverage run -a --source=. --omit=main.py"; }

for TEST in tests/test_*.py
do
Expand Down

0 comments on commit 0ae20cf

Please sign in to comment.