Skip to content

Commit c414799

Browse files
committed
chore: fix phpunit
1 parent f757af4 commit c414799

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/phpunit.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,15 @@ jobs:
8484
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3
8585

8686
mssql:
87-
image: mcr.microsoft.com/mssql/server:2022-latest
87+
image: mcr.microsoft.com/mssql/server:2019-CU28-ubuntu-20.04
8888
env:
89-
MSSQL_SA_PASSWORD: 1Secure*Password1
89+
SA_PASSWORD: 1Secure*Password1
9090
ACCEPT_EULA: Y
9191
MSSQL_PID: Developer
92+
MSSQL_ENCRYPT: optional
9293
ports:
9394
- 1433:1433
94-
options: >-
95-
--health-cmd="/opt/mssql-tools18/bin/sqlcmd -C -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q 'SELECT @@VERSION'"
96-
--health-interval=10s
97-
--health-timeout=5s
98-
--health-retries=3
95+
options: --health-cmd="/opt/mssql-tools18/bin/sqlcmd -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q 'SELECT @@VERSION' -N -C" --health-interval=10s --health-timeout=5s --health-retries=3
9996

10097
oracle:
10198
image: gvenzl/oracle-xe:18
@@ -114,7 +111,7 @@ jobs:
114111
steps:
115112
- name: Create database for MSSQL Server
116113
if: matrix.db-platforms == 'SQLSRV'
117-
run: sqlcmd -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q "CREATE DATABASE test"
114+
run: sqlcmd -S -C 127.0.0.1 -U sa -P 1Secure*Password1 -Q "CREATE DATABASE test"
118115

119116
- name: Checkout
120117
uses: actions/checkout@v4

0 commit comments

Comments
 (0)