Skip to content

Commit

Permalink
Add database configuration to functional test workflow
Browse files Browse the repository at this point in the history
Include essential environment variables for the PostgreSQL database setup within the functional test GitHub Actions workflow. This ensures the tests have access to the correct database credentials.

Signed-off-by: mesilov <[email protected]>
  • Loading branch information
mesilov committed Oct 10, 2024
1 parent 6fce03d commit 9030702
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/tests-functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:

env:
COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist"
DATABASE_HOST: localhost
DATABASE_USER: b24phpLibTest
DATABASE_PASSWORD: b24phpLibTest
DATABASE_NAME: b24phpLibTest

jobs:
tests:
Expand All @@ -31,6 +35,9 @@ jobs:
--health-timeout=5s
--health-retries=5
env:
POSTGRES_USER: b24phpLibTest
POSTGRES_PASSWORD: b24phpLibTest
POSTGRES_DB: b24phpLibTest
DATABASE_HOST: localhost
DATABASE_USER: b24phpLibTest
DATABASE_PASSWORD: b24phpLibTest
Expand Down

0 comments on commit 9030702

Please sign in to comment.