bot-base/scripts/run-tests.sh

14 lines
208 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# if any command inside script returns error, exit and return that error
set -e
cd "${0%/*}/.."
echo "Running tests"
# Run test and ignore warnings
pipenv run pytest -p no:warnings