Control npm testing with environment variables
The NPM based tests can now skip the stopping of the docker-compose cluster by defining the SKIP_SHUTDOWN environment variable.
This commit is contained in:
parent
9e688772cc
commit
64c5d6d610
@ -90,6 +90,9 @@ npm test
|
||||
rval=$?
|
||||
|
||||
# Stop MariaDB servers
|
||||
docker-compose down -v
|
||||
if [ -z "$SKIP_SHUTDOWN" ]
|
||||
then
|
||||
docker-compose down -v
|
||||
fi
|
||||
|
||||
exit $rval
|
||||
|
Loading…
x
Reference in New Issue
Block a user