-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure mailer properly in enterprise functional tests
- Loading branch information
1 parent
0fa276e
commit 4a48bb6
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,7 @@ jobs: | |
working-directory: ${{ env.backend-directory }} | ||
run: | | ||
touch .env | ||
echo DJANGO_DEBUG=True >> .env | ||
echo [email protected] >> .env | ||
echo DJANGO_SUPERUSER_PASSWORD=1234 >> .env | ||
echo POSTGRES_NAME=postgres >> .env | ||
|
@@ -175,6 +176,11 @@ jobs: | |
echo DB_HOST=localhost >> .env | ||
echo CISO_ASSISTANT_SUPERUSER_EMAIL='' >> .env | ||
echo CISO_ASSISTANT_URL=http://localhost:4173 >> .env | ||
echo DEFAULT_FROM_EMAIL='[email protected]' >> .env | ||
echo EMAIL_HOST=localhost >> .env | ||
echo [email protected] >> .env | ||
echo EMAIL_HOST_PASSWORD=password >> .env | ||
echo EMAIL_PORT=1025 >> .env | ||
echo DJANGO_SETTINGS_MODULE=enterprise_core.settings >> .env | ||
- name: Run migrations | ||
working-directory: ${{ env.backend-directory }} | ||
|