Skip to content

Commit

Permalink
Create a crude test runner
Browse files Browse the repository at this point in the history
Per #17.
  • Loading branch information
waldoj committed Mar 24, 2019
1 parent f7010c4 commit b7c55d0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions deploy/run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

if [ "$(docker container ps |grep -c rs_api)" -eq "0" ]; then
echo "The API is not running in Docker, so cannot run tests"
exit 1
fi

cd tests || exit

for f in *.sh; do
bash "$f" -H
done

cd ..

0 comments on commit b7c55d0

Please sign in to comment.