First pass for scripts to rule them all
This commit is contained in:
11
script/test
Executable file
11
script/test
Executable file
@@ -0,0 +1,11 @@
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
echo "Running tests..."
|
||||
|
||||
if [ "$1" = "coverage" ]; then
|
||||
coverage run -m unittest discover tests
|
||||
else
|
||||
python3 -m unittest discover tests
|
||||
fi
|
||||
|
||||
script/lint
|
||||
Reference in New Issue
Block a user