Skip to content

Commit

Permalink
Merge branch 'master' into feature/mask-vars-wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
xcopy committed Dec 12, 2024
2 parents 8056748 + 3cd8f19 commit 9d2ef8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
EXTENSIONS: pdo, pdo_sqlsrv
XDEBUG_MODE: coverage, develop

runs-on: ubuntu-latest
runs-on: ${{ matrix.mssql.os || 'ubuntu-latest' }}

strategy:
fail-fast: false
Expand All @@ -38,6 +38,7 @@ jobs:
mssql:
version: server:2017-latest
mssql-tool: /opt/mssql-tools/bin/sqlcmd
os: ubuntu-22.04
- php: 8.0
mssql:
version: server:2019-latest
Expand All @@ -55,6 +56,9 @@ jobs:
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

steps:
- name: Install ODBC driver
run: sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18

- name: Checkout
uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion tests/data/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'fixture' => __DIR__ . '/sqlite.sql',
],
'sqlsrv' => [
'dsn' => 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest',
'dsn' => 'sqlsrv:Server=127.0.0.1,1433;Database=yiitest;Encrypt=no',
'username' => 'SA',
'password' => 'YourStrong!Passw0rd',
'fixture' => __DIR__ . '/mssql.sql',
Expand Down

0 comments on commit 9d2ef8d

Please sign in to comment.