PYROS_DOCKER_TEST
318 Bytes
#!/usr/bin/env bash
export CURRENT_UID=$(id -u)
export COMPUTER_HOSTNAME=$HOSTNAME
# if no container is running
if ! [ $(docker ps | grep 'pyros' | wc -l) -eq 4 ]
then
echo "pyros-db or pyros weren't running, starting them..."
./PYROS_DOCKER_START.bat
fi
docker compose exec pyros python3 pyros.py test $@