Skip to content

Commit

Permalink
Prepare MSSQL workflow for ubuntu-24.04 runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
Izumi-kun committed Dec 11, 2024
1 parent dd4efda commit 366f987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,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 366f987

Please sign in to comment.