pyopenbook/scripts/run_async_int_tests.sh

20 lines
300 B
Bash
Executable File

#!/bin/bash
bash scripts/bootstrap_dex.sh
wait_time=20
echo "Waiting $wait_time seconds to make sure the market has started"
sleep $wait_time
exit_code=1
if (pipenv run pytest -vv -m async_integration); then
echo "The script ran ok"
exit_code=0
fi
bash scripts/clean_up.sh
exit $exit_code