diff --git a/.github/workflows/startup-tests.yml b/.github/workflows/startup-tests.yml index 560c20539..c904ee70a 100644 --- a/.github/workflows/startup-tests.yml +++ b/.github/workflows/startup-tests.yml @@ -119,7 +119,7 @@ jobs: - name: Config the Docker app run: | 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" + 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 working-directory: ${{ env.working-directory }} run: npx playwright test tests/functional/startup.test.ts