20 lines
301 B
Bash
20 lines
301 B
Bash
|
#!/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 --cov=./ --cov-report=xml); then
|
||
|
echo "The script ran ok"
|
||
|
exit_code=0
|
||
|
fi
|
||
|
|
||
|
bash scripts/clean_up.sh
|
||
|
|
||
|
exit $exit_code
|