From ac02e47cf9ee7816dc65d060b19471b9e4c0b960 Mon Sep 17 00:00:00 2001 From: Ioannis Igoumenos Date: Tue, 14 Apr 2026 09:44:08 +0000 Subject: [PATCH] fixing github actions steps and configuration --- .github/workflows/registry-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/registry-ci.yml b/.github/workflows/registry-ci.yml index 47b8af380..e2adc9723 100644 --- a/.github/workflows/registry-ci.yml +++ b/.github/workflows/registry-ci.yml @@ -52,6 +52,13 @@ jobs: env: COMANAGE_REGISTRY_DIR: /srv/comanage-registry + # Matrix DB selection for this run + DB_ENGINE: ${{ matrix.db.engine }} + + # DB service connection info (because you publish ports) + COMANAGE_REGISTRY_DATABASE_HOST: 127.0.0.1 + COMANAGE_REGISTRY_DATABASE_PORT: ${{ matrix.db.port }} + # Values used by your PHPUnit setup test COMANAGE_REGISTRY_ADMIN_GIVEN_NAME: Admin COMANAGE_REGISTRY_ADMIN_FAMILY_NAME: User @@ -193,8 +200,6 @@ jobs: - name: Run PHPUnit (DB_ENGINE=${{ matrix.db_engine }}) shell: bash working-directory: /srv/comanage-registry/app - env: - DB_ENGINE: ${{ matrix.db_engine }} run: | set -euxo pipefail cd "${COMANAGE_REGISTRY_DIR}"/app