diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index 52228cd8a..1cb1db33b 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -206,7 +206,7 @@ jobs: working-directory: ${{ env.backend-directory }} run: | export $(grep -v '^#' .env | xargs) - poetry run python manage.py createsuperuser --noinput + poetry run python manage.py createsuperuser --noinput --settings=${{ env.enterprise-backend-settings-module }} nohup poetry run python manage.py runserver --settings=${{ env.enterprise-backend-settings-module }} & - name: Run tests with browser ${{ matrix.playwright-browser }} working-directory: ${{ env.enterprise-frontend-build-directory }} diff --git a/.github/workflows/startup-tests.yml b/.github/workflows/startup-tests.yml index 44b843589..4ace2a276 100644 --- a/.github/workflows/startup-tests.yml +++ b/.github/workflows/startup-tests.yml @@ -220,7 +220,7 @@ jobs: working-directory: ${{ env.backend-directory }} run: | export $(grep -v '^#' .env | xargs) - poetry run python manage.py createsuperuser --noinput + poetry run python manage.py createsuperuser --noinput --settings=${{ env.enterprise-backend-settings-module }} nohup poetry run python manage.py runserver --settings=${{ env.enterprise-backend-settings-module }} & - name: Run tests working-directory: ${{ env.enterprise-frontend-build-directory }}