X-Git-Url: http://git.scottworley.com/pinch/blobdiff_plain/7fcc18a2db40653e0d782528674ca1740e70830c..b365b52416a5c3d79b96ca9401b5031db4bddba2:/test.sh?ds=inline diff --git a/test.sh b/test.sh index 3a35523..5df81bf 100755 --- a/test.sh +++ b/test.sh @@ -4,7 +4,14 @@ set -e PARALLELISM=4 -find . -name '*.py' -print0 | xargs -0 mypy --strict --ignore-missing-imports +find . -name build -prune -o -name dist -prune -o -name '*.py' -print0 | + xargs -0 mypy --strict --ignore-missing-imports + +for test in tests/*;do + if [ ! -d "$test" ];then + "$test" + fi +done find . -name '*_test.py' -print0 | xargs -0 -r -n1 python3