File tree 3 files changed +8
-10
lines changed
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 31
31
export PDO_OCI_TEST_USER="system"
32
32
export PDO_OCI_TEST_PASS="pass"
33
33
export PDO_OCI_TEST_DSN="oci:dbname=localhost/XEPDB1;charset=AL32UTF8"
34
- export PGSQL_TEST_CONNSTR="host=postgres dbname=test port=5432 user=postgres password=postgres"
35
- export PDO_PGSQL_TEST_DSN="host=postgres dbname=test port=5432 user=postgres password=postgres"
34
+ export PGSQL_TEST_CONNSTR="host=localhost dbname=test port=5432 user=postgres password=postgres"
35
+ if [[ -z "$PDO_PGSQL_TEST_DSN" ]]; then
36
+ export PDO_PGSQL_TEST_DSN="pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres"
37
+ fi
36
38
export ODBC_TEST_USER="odbc_test"
37
39
export ODBC_TEST_PASS="password"
38
40
export ODBC_TEST_DSN="Driver={ODBC Driver 17 for SQL Server};Server=127.0.0.1;Database=odbc;uid=$ODBC_TEST_USER;pwd=$ODBC_TEST_PASS"
Original file line number Diff line number Diff line change @@ -158,10 +158,6 @@ jobs:
158
158
runs-on : ubuntu-latest
159
159
container :
160
160
image : ubuntu:${{ (matrix.branch.ref == 'PHP-8.3' || matrix.branch.ref == 'master') && '22.04' || '20.04' }}
161
- env :
162
- MYSQL_TEST_HOST : mysql
163
- PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
164
- PDO_MYSQL_TEST_HOST : mysql
165
161
services :
166
162
mysql :
167
163
image : mysql:8
Original file line number Diff line number Diff line change @@ -48,19 +48,19 @@ jobs:
48
48
services :
49
49
mysql :
50
50
image : mysql:8
51
+ ports :
52
+ - 3306:3306
51
53
env :
52
54
MYSQL_DATABASE : test
53
55
MYSQL_ROOT_PASSWORD : root
54
56
postgres :
55
57
image : postgres
58
+ ports :
59
+ - 5432:5432
56
60
env :
57
61
POSTGRES_USER : postgres
58
62
POSTGRES_PASSWORD : postgres
59
63
POSTGRES_DB : test
60
- env :
61
- MYSQL_TEST_HOST : mysql
62
- PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
63
- PDO_MYSQL_TEST_HOST : mysql
64
64
strategy :
65
65
fail-fast : false
66
66
matrix :
You can’t perform that action at this time.
0 commit comments