File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 16
16
EXTENSIONS : pdo, pdo_sqlsrv
17
17
XDEBUG_MODE : coverage, develop
18
18
19
- runs-on : ubuntu-latest
19
+ runs-on : ${{ matrix.mssql.os || ' ubuntu-latest' }}
20
20
21
21
strategy :
22
22
fail-fast : false
38
38
mssql :
39
39
version : server:2017-latest
40
40
mssql-tool : /opt/mssql-tools/bin/sqlcmd
41
+ os : ubuntu-22.04
41
42
- php : 8.0
42
43
mssql :
43
44
version : server:2019-latest
55
56
options : --name=mssql --health-cmd="${{ matrix.mssql.mssql-tool }} -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'SELECT 1'" --health-interval=10s --health-timeout=5s --health-retries=3
56
57
57
58
steps :
59
+ - name : Install ODBC driver
60
+ run : sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
61
+
58
62
- name : Checkout
59
63
uses : actions/checkout@v4
60
64
Original file line number Diff line number Diff line change 37
37
'fixture ' => __DIR__ . '/sqlite.sql ' ,
38
38
],
39
39
'sqlsrv ' => [
40
- 'dsn ' => 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest ' ,
40
+ 'dsn ' => 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no ' ,
41
41
'username ' => 'SA ' ,
42
42
'password ' => 'YourStrong!Passw0rd ' ,
43
43
'fixture ' => __DIR__ . '/mssql.sql ' ,
You can’t perform that action at this time.
0 commit comments