From 15bd2d71259aadd689f4ead918daa8a6becf6e78 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 5 Jul 2024 11:39:06 +0200 Subject: [PATCH] Adjust ports Signed-off-by: Joas Schilling --- .github/workflows/phpunit-oci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpunit-oci.yml b/.github/workflows/phpunit-oci.yml index c2b4b7aaa22..d681a242dea 100644 --- a/.github/workflows/phpunit-oci.yml +++ b/.github/workflows/phpunit-oci.yml @@ -86,7 +86,7 @@ jobs: # Forward Oracle port ports: - - 4444:1521/tcp + - 1521:1521/tcp # Provide healthcheck script options for startup options: >- @@ -117,12 +117,12 @@ jobs: - name: Set up Nextcloud env: - DB_PORT: 4444 + DB_PORT: 1521 run: | mkdir data cp tests/redis.config.php config/ cp tests/preseed-config.php config/config.php - ./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=oc_autotest --database-pass=nextcloud --admin-user admin --admin-pass admin + ./occ maintenance:install --verbose --database=oci --database-name=${{ matrix.oracle-versions < 23 && 'XE' || 'FREE' }} --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=oc_autotest --database-pass=nextcloud --admin-user admin --admin-pass admin php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0 - name: PHPUnit