File tree Expand file tree Collapse file tree 5 files changed +88
-8
lines changed Expand file tree Collapse file tree 5 files changed +88
-8
lines changed Original file line number Diff line number Diff line change @@ -111,13 +111,14 @@ jobs:
111
111
- " 8.3"
112
112
oracle-version :
113
113
- " 21"
114
+ - " 23"
114
115
include :
115
116
- php-version : " 7.4"
116
117
oracle-version : " 11"
117
118
118
119
services :
119
120
oracle :
120
- image : gvenzl/oracle-xe :${{ matrix.oracle-version }}
121
+ image : gvenzl/oracle-${{ matrix.oracle-version < 23 && 'xe' || 'free' }} :${{ matrix.oracle-version }}
121
122
env :
122
123
ORACLE_PASSWORD : oracle
123
124
ports :
@@ -148,7 +149,7 @@ jobs:
148
149
composer-options : " --ignore-platform-req=php+"
149
150
150
151
- name : " Run PHPUnit"
151
- run : " vendor/bin/phpunit -c ci/github/phpunit/oci8.xml --coverage-clover=coverage.xml"
152
+ run : " vendor/bin/phpunit -c ci/github/phpunit/oci8${{ matrix.oracle-version < 23 && '-21' || '' }} .xml --coverage-clover=coverage.xml"
152
153
153
154
- name : " Upload coverage file"
154
155
uses : " actions/upload-artifact@v3"
@@ -169,13 +170,14 @@ jobs:
169
170
- " 8.3"
170
171
oracle-version :
171
172
- " 21"
173
+ - " 23"
172
174
include :
173
175
- php-version : " 7.4"
174
176
oracle-version : " 11"
175
177
176
178
services :
177
179
oracle :
178
- image : gvenzl/oracle-xe :${{ matrix.oracle-version }}
180
+ image : gvenzl/oracle-${{ matrix.oracle-version < 23 && 'xe' || 'free' }} :${{ matrix.oracle-version }}
179
181
env :
180
182
ORACLE_PASSWORD : oracle
181
183
ports :
@@ -206,7 +208,7 @@ jobs:
206
208
composer-options : " --ignore-platform-req=php+"
207
209
208
210
- name : " Run PHPUnit"
209
- run : " vendor/bin/phpunit -c ci/github/phpunit/pdo_oci.xml --coverage-clover=coverage.xml"
211
+ run : " vendor/bin/phpunit -c ci/github/phpunit/pdo_oci${{ matrix.oracle-version < 23 && '-21' || '' }} .xml --coverage-clover=coverage.xml"
210
212
211
213
- name : " Upload coverage file"
212
214
uses : " actions/upload-artifact@v3"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" ../../../vendor/phpunit/phpunit/phpunit.xsd"
4
+ colors =" true"
5
+ beStrictAboutOutputDuringTests =" true"
6
+ beStrictAboutTodoAnnotatedTests =" true"
7
+ failOnRisky =" true"
8
+ failOnWarning =" true"
9
+ convertDeprecationsToExceptions =" true"
10
+ >
11
+ <php >
12
+ <ini name =" error_reporting" value =" -1" />
13
+
14
+ <var name =" db_driver" value =" oci8" />
15
+ <var name =" db_host" value =" localhost" />
16
+ <var name =" db_user" value =" doctrine" />
17
+ <var name =" db_password" value =" oracle" />
18
+ <var name =" db_dbname" value =" XE" />
19
+ <var name =" db_charset" value =" AL32UTF8" />
20
+
21
+ <var name =" tmpdb_driver" value =" oci8" />
22
+ <var name =" tmpdb_host" value =" localhost" />
23
+ <var name =" tmpdb_user" value =" system" />
24
+ <var name =" tmpdb_password" value =" oracle" />
25
+ <var name =" tmpdb_dbname" value =" XE" />
26
+ </php >
27
+
28
+ <testsuites >
29
+ <testsuite name =" Doctrine DBAL Test Suite" >
30
+ <directory >../../../tests</directory >
31
+ </testsuite >
32
+ </testsuites >
33
+
34
+ <coverage >
35
+ <include >
36
+ <directory suffix =" .php" >../../../src</directory >
37
+ </include >
38
+ </coverage >
39
+ </phpunit >
Original file line number Diff line number Diff line change 15
15
<var name =" db_host" value =" localhost" />
16
16
<var name =" db_user" value =" doctrine" />
17
17
<var name =" db_password" value =" oracle" />
18
- <var name =" db_dbname" value =" XE " />
18
+ <var name =" db_dbname" value =" FREE " />
19
19
<var name =" db_charset" value =" AL32UTF8" />
20
20
21
21
<var name =" tmpdb_driver" value =" oci8" />
22
22
<var name =" tmpdb_host" value =" localhost" />
23
23
<var name =" tmpdb_user" value =" system" />
24
24
<var name =" tmpdb_password" value =" oracle" />
25
- <var name =" tmpdb_dbname" value =" XE " />
25
+ <var name =" tmpdb_dbname" value =" FREE " />
26
26
</php >
27
27
28
28
<testsuites >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" ../../../vendor/phpunit/phpunit/phpunit.xsd"
4
+ colors =" true"
5
+ beStrictAboutOutputDuringTests =" true"
6
+ beStrictAboutTodoAnnotatedTests =" true"
7
+ failOnRisky =" true"
8
+ failOnWarning =" true"
9
+ convertDeprecationsToExceptions =" true"
10
+ >
11
+ <php >
12
+ <ini name =" error_reporting" value =" -1" />
13
+
14
+ <var name =" db_driver" value =" pdo_oci" />
15
+ <var name =" db_host" value =" localhost" />
16
+ <var name =" db_user" value =" doctrine" />
17
+ <var name =" db_password" value =" oracle" />
18
+ <var name =" db_dbname" value =" XE" />
19
+ <var name =" db_charset" value =" AL32UTF8" />
20
+
21
+ <var name =" tmpdb_driver" value =" pdo_oci" />
22
+ <var name =" tmpdb_host" value =" localhost" />
23
+ <var name =" tmpdb_user" value =" system" />
24
+ <var name =" tmpdb_password" value =" oracle" />
25
+ <var name =" tmpdb_dbname" value =" XE" />
26
+ </php >
27
+
28
+ <testsuites >
29
+ <testsuite name =" Doctrine DBAL Test Suite" >
30
+ <directory >../../../tests</directory >
31
+ </testsuite >
32
+ </testsuites >
33
+
34
+ <coverage >
35
+ <include >
36
+ <directory suffix =" .php" >../../../src</directory >
37
+ </include >
38
+ </coverage >
39
+ </phpunit >
Original file line number Diff line number Diff line change 15
15
<var name =" db_host" value =" localhost" />
16
16
<var name =" db_user" value =" doctrine" />
17
17
<var name =" db_password" value =" oracle" />
18
- <var name =" db_dbname" value =" XE " />
18
+ <var name =" db_dbname" value =" FREE " />
19
19
<var name =" db_charset" value =" AL32UTF8" />
20
20
21
21
<var name =" tmpdb_driver" value =" pdo_oci" />
22
22
<var name =" tmpdb_host" value =" localhost" />
23
23
<var name =" tmpdb_user" value =" system" />
24
24
<var name =" tmpdb_password" value =" oracle" />
25
- <var name =" tmpdb_dbname" value =" XE " />
25
+ <var name =" tmpdb_dbname" value =" FREE " />
26
26
</php >
27
27
28
28
<testsuites >
You can’t perform that action at this time.
0 commit comments