diff --git a/app/.github/workflows/registry-ci.yml b/.github/workflows/registry-ci.yml similarity index 87% rename from app/.github/workflows/registry-ci.yml rename to .github/workflows/registry-ci.yml index 5ac4a6164..a720dfa4d 100644 --- a/app/.github/workflows/registry-ci.yml +++ b/.github/workflows/registry-ci.yml @@ -21,9 +21,17 @@ jobs: COMANAGE_REGISTRY_VERSION: develop # COMANAGE_REGISTRY_SRC_URL is computed dynamically in a step. - TEST_DB_NAME: test_db - TEST_DB_USER: test_user - TEST_DB_PASS: test_password + # Values used by your PHPUnit setup test + COMANAGE_REGISTRY_ADMIN_GIVEN_NAME: Admin + COMANAGE_REGISTRY_ADMIN_FAMILY_NAME: User + COMANAGE_REGISTRY_ADMIN_USERNAME: admin + COMANAGE_REGISTRY_SECURITY_SALT: phpunit-security-salt + + # Values used by tests/bootstrap.php to create containers (host/port are set dynamically after start) + COMANAGE_REGISTRY_DATABASE: registry_test + COMANAGE_REGISTRY_DATABASE_USER: test_user + COMANAGE_REGISTRY_DATABASE_USER_PASSWORD: test_password + COMANAGE_REGISTRY_DATABASE_PERSISTENT: "false" steps: - name: Checkout (only for workflow files) @@ -53,7 +61,7 @@ jobs: composer --version docker --version - - name: Install OS packages needed for setup + some PHP extensions + - name: Install OS packages needed for setup shell: bash run: | set -euxo pipefail