summaryrefslogtreecommitdiffstats
path: root/run_tests.sh
blob: 7f1096fb881178a63839e6a6ba725c21b12845e1 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

basedir="$(dirname "$0")"
[ "$(echo "$basedir" | cut -c1)" = '/' ] || basedir="$PWD/$basedir"

echo "Analyzing sources..."
mypy --ignore-missing-imports ./mlplib || exit 1
echo "===="
echo "Running tests..."
python3 -m pytest "$@" "$basedir"
bues.ch cgit interface