fix: update e2e script to include e2e env source

This commit is contained in:
ramvignesh-b
2026-04-20 20:59:09 +05:30
parent 7bab2937bc
commit bd0f2e0171
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -35,6 +35,7 @@ cleanup() {
trap cleanup EXIT
echo "Starting Database and Mail server..."
COMPOSE_BIN="$(command -v docker-compose || true)"
if echo "$CONTAINER_BIN" | grep -q "podman"; then
@@ -51,6 +52,7 @@ until $CONTAINER_BIN exec "$DB_NAME" pg_isready -U "${DB_USER:-test}" >/dev/null
sleep 2
done
export PIKU_ENV_FILE="$ENV_FILE"
echo "Starting Backend..."
mkdir -p ./tmp/logs
(cd backend && uv run manage.py migrate)