From 9030702c9a83ff808cd8368161097f39fe85084c Mon Sep 17 00:00:00 2001 From: mesilov Date: Thu, 10 Oct 2024 21:30:10 +0600 Subject: [PATCH] Add database configuration to functional test workflow 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 --- .github/workflows/tests-functional.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests-functional.yml b/.github/workflows/tests-functional.yml index a414889..d34fb9d 100644 --- a/.github/workflows/tests-functional.yml +++ b/.github/workflows/tests-functional.yml @@ -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: @@ -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