mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
22 lines
462 B
Bash
22 lines
462 B
Bash
|
#!/bin/bash
|
||
|
echo 'Running tests...'
|
||
|
|
||
|
echo 'Stopping any docker containers...'
|
||
|
./bin/stop-all-docker-containers.sh
|
||
|
|
||
|
echo 'Starting up docker for integration testing and running unit and integration tests on all modules...'
|
||
|
sbt ";validate;verify"
|
||
|
verify_result=$?
|
||
|
|
||
|
echo 'Stopping any docker containers...'
|
||
|
./bin/stop-all-docker-containers.sh
|
||
|
|
||
|
if [ ${verify_result} -eq 0 ]
|
||
|
then
|
||
|
echo 'Verify successful!'
|
||
|
exit 0
|
||
|
else
|
||
|
echo 'Verify failed!'
|
||
|
exit 1
|
||
|
fi
|