Skip to content

Commit ec400c5

Browse files
committed
add testing with Oracle v21
1 parent d4d56a1 commit ec400c5

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,18 @@ jobs:
3131
ports:
3232
- 1518:1521
3333
env:
34-
ORACLE_PASSWORD: my_pass
34+
ORACLE_PASSWORD: my_pass_18
35+
options: >-
36+
--health-cmd healthcheck.sh
37+
--health-interval 10s
38+
--health-timeout 5s
39+
--health-retries 10
40+
oracle-21:
41+
image: gvenzl/oracle-xe:21-slim-faststart
42+
ports:
43+
- 1521:1521
44+
env:
45+
ORACLE_PASSWORD: my_pass_21
3546
options: >-
3647
--health-cmd healthcheck.sh
3748
--health-interval 10s
@@ -42,7 +53,7 @@ jobs:
4253
ports:
4354
- 1523:1521
4455
env:
45-
ORACLE_PASSWORD: my_pass
56+
ORACLE_PASSWORD: my_pass_23
4657
options: >-
4758
--health-cmd healthcheck.sh
4859
--health-interval 10s
@@ -103,16 +114,25 @@ jobs:
103114
PDO_TEST_DIR: ${{ github.workspace }}/php-src/ext/pdo/tests
104115
PDO_OCI_TEST_DIR: ${{ github.workspace }}/tests
105116
PDO_OCI_TEST_USER: system
106-
PDO_OCI_TEST_PASS: my_pass
117+
PDO_OCI_TEST_PASS: my_pass_18
107118
PDO_OCI_TEST_DSN: oci:dbname=0.0.0.0:1518/XE;charset=AL32UTF8
119+
- name: Run tests /w Oracle 21
120+
if: success() || failure()
121+
run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests
122+
env:
123+
PDO_TEST_DIR: ${{ github.workspace }}/php-src/ext/pdo/tests
124+
PDO_OCI_TEST_DIR: ${{ github.workspace }}/tests
125+
PDO_OCI_TEST_USER: system
126+
PDO_OCI_TEST_PASS: my_pass_21
127+
PDO_OCI_TEST_DSN: oci:dbname=0.0.0.0:1521/XE;charset=AL32UTF8
108128
- name: Run tests /w Oracle 23
109129
if: success() || failure()
110130
run: php php-src/run-tests.php --show-diff --show-slow 1000 --set-timeout 120 tests
111131
env:
112132
PDO_TEST_DIR: ${{ github.workspace }}/php-src/ext/pdo/tests
113133
PDO_OCI_TEST_DIR: ${{ github.workspace }}/tests
114134
PDO_OCI_TEST_USER: system
115-
PDO_OCI_TEST_PASS: my_pass
135+
PDO_OCI_TEST_PASS: my_pass_23
116136
PDO_OCI_TEST_DSN: oci:dbname=0.0.0.0:1523/FREEPDB1;charset=AL32UTF8
117137

118138
windows-matrix:

0 commit comments

Comments
 (0)