entrypoint-tests.sh 245 B

12345678910111213
  1. #!/bin/bash -e
  2. # wait for dependencies
  3. echo "waiting for dependencies ..."
  4. ./wait-dbapi
  5. ./wait-ns
  6. # start cron
  7. /root/cronhook/start-cron.sh &
  8. echo Starting API tests ...
  9. coverage run --source='.' manage.py test -v 3 --noinput
  10. coverage report