Skip to content

Commit

Permalink
Add bash script to help with running BDD tests (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamDudley authored Feb 5, 2025
1 parent eded299 commit ccf7c7a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions scripts/run-bdd-tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

set -ex

mv .env .env.local
cp .env.ci .env

npm run build

docker compose restart web celery

docker compose exec web python manage.py collectstatic --no-input

docker compose up -d chrome

docker compose exec --no-TTY web python manage.py behave --settings=config.settings.bdd --no-capture

rm .env
mv .env.local .env

0 comments on commit ccf7c7a

Please sign in to comment.