Skip to content

Commit

Permalink
add mailer service in functional tests github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexdev8 committed Mar 1, 2024
1 parent 7d12e2b commit 7970179
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 7970179

Please sign in to comment.