File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
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 @@ -48,19 +48,24 @@ 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
64
env :
61
65
MYSQL_TEST_HOST : mysql
62
- PDO_MYSQL_TEST_DSN : mysql:host=mysql;dbname=test
63
- PDO_MYSQL_TEST_HOST : mysql
66
+ PDO_MYSQL_TEST_DSN : mysql:host=localhost;dbname=test
67
+ PDO_MYSQL_TEST_HOST : localhost
68
+ PDO_PGSQL_TEST_DSN : pgsql:host=localhost port=5432 dbname=test user=postgres password=postgres
64
69
strategy :
65
70
fail-fast : false
66
71
matrix :
You can’t perform that action at this time.
0 commit comments