From da8c4ecca357eac7a82a9530c610e0342684fc73 Mon Sep 17 00:00:00 2001 From: eric-intuitem <71850047+eric-intuitem@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:47:49 +0200 Subject: [PATCH] Update startup-tests.yml --- .github/workflows/startup-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/startup-tests.yml b/.github/workflows/startup-tests.yml index 0dafa6234..e8365be6e 100644 --- a/.github/workflows/startup-tests.yml +++ b/.github/workflows/startup-tests.yml @@ -116,6 +116,7 @@ jobs: export $(grep -v '^#' .env | xargs) - name: Config the Docker app run: | + sleep 5 docker compose exec backend python manage.py migrate docker compose exec backend /bin/bash -c "DJANGO_SUPERUSER_EMAIL=admin@tests.com DJANGO_SUPERUSER_PASSWORD=1234 python manage.py createsuperuser --noinput && exit 0" - name: Run tests