You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

test.sh 294 B

123456789101112
  1. #!/usr/bin/env bash
  2. set -e
  3. python3 --version
  4. pushd containers
  5. export COMPOSE_PROJECT_NAME=lesspass
  6. docker-compose build
  7. docker-compose up -d
  8. docker exec -it lesspass_backend_1 sh -c 'python3 wait_db.py'
  9. docker exec -it lesspass_backend_1 sh -c 'python3 manage.py test'
  10. docker-compose down
  11. popd