tokenbridge/deployment-e2e/molecule.sh
2020-07-14 17:53:05 +03:00

12 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
cd ./e2e-commons
set -e # exit when any command fails
docker-compose pull molecule_runner
docker network create --driver bridge ultimate || true
while [ "$1" != "" ]; do
docker-compose run molecule_runner /bin/bash -c "molecule test --scenario-name $1"
shift # Shift all the parameters down by one
done