-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add mailer service in functional tests github action
- Loading branch information
Showing
1 changed file
with
11 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 |
---|---|---|
|
@@ -25,6 +25,12 @@ jobs: | |
POSTGRES_DB: postgres | ||
ports: ["5432:5432"] | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
mailhog: | ||
image: mailhog/mailhog | ||
ports: [ | ||
"1025:1025", | ||
"8025:8025" | ||
] | ||
|
||
strategy: | ||
max-parallel: 4 | ||
|
@@ -71,6 +77,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 | ||
- name: Run migrations | ||
working-directory: ${{ env.backend-directory }} | ||
run: | | ||
|