From cfe9a98edd7a238aa01b56c4ec0bb8ca7a7c758c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 2 Jun 2025 13:35:50 +0200 Subject: [PATCH 1/2] XE DB for v18 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dded58d..f584eee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,7 +98,7 @@ jobs: env: PHP_OCI8_TEST_USER: system PHP_OCI8_TEST_PASS: my_pass - PHP_OCI8_TEST_DB: 0.0.0.0:1518/FREEPDB1 + PHP_OCI8_TEST_DB: 0.0.0.0:1518/XE - name: Run tests /w Oracle 23 if: success() || failure() run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests From dba97dc2119d8b21ade02bfa66345591c1da3ad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Mon, 2 Jun 2025 13:37:12 +0200 Subject: [PATCH 2/2] add testing with Oracle v21 --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f584eee..4418f7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,7 +33,18 @@ jobs: ports: - 1518:1521 env: - ORACLE_PASSWORD: my_pass + ORACLE_PASSWORD: my_pass_18 + options: >- + --health-cmd healthcheck.sh + --health-interval 10s + --health-timeout 5s + --health-retries 10 + oracle-21: + image: gvenzl/oracle-xe:21-slim-faststart + ports: + - 1521:1521 + env: + ORACLE_PASSWORD: my_pass_21 options: >- --health-cmd healthcheck.sh --health-interval 10s @@ -44,7 +55,7 @@ jobs: ports: - 1523:1521 env: - ORACLE_PASSWORD: my_pass + ORACLE_PASSWORD: my_pass_23 options: >- --health-cmd healthcheck.sh --health-interval 10s @@ -97,14 +108,21 @@ jobs: run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests env: PHP_OCI8_TEST_USER: system - PHP_OCI8_TEST_PASS: my_pass + PHP_OCI8_TEST_PASS: my_pass_18 PHP_OCI8_TEST_DB: 0.0.0.0:1518/XE + - name: Run tests /w Oracle 21 + if: success() || failure() + run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests + env: + PHP_OCI8_TEST_USER: system + PHP_OCI8_TEST_PASS: my_pass_21 + PHP_OCI8_TEST_DB: 0.0.0.0:1521/XE - name: Run tests /w Oracle 23 if: success() || failure() run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests env: PHP_OCI8_TEST_USER: system - PHP_OCI8_TEST_PASS: my_pass + PHP_OCI8_TEST_PASS: my_pass_23 PHP_OCI8_TEST_DB: 0.0.0.0:1523/FREEPDB1 windows-matrix: