Skip to content

Commit c1481bb

Browse files
committed
update workflow
1 parent d0e4dfa commit c1481bb

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/phpunit.yml

+18-6
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ jobs:
5353
MYSQL_DATABASE: test
5454
ports:
5555
- 3306:3306
56-
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
56+
options: >-
57+
--health-cmd="mysqladmin ping"
58+
--health-interval=10s
59+
--health-timeout=5s
60+
--health-retries=3
5761
5862
postgres:
5963
image: postgres
@@ -63,20 +67,28 @@ jobs:
6367
POSTGRES_DB: test
6468
ports:
6569
- 5432:5432
66-
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3
70+
options: >-
71+
--health-cmd=pg_isready
72+
--health-interval=10s
73+
--health-timeout=5s
74+
--health-retries=3
6775
6876
mssql:
69-
image: mcr.microsoft.com/mssql/server:2019-CU10-ubuntu-20.04
77+
image: mcr.microsoft.com/mssql/server:2022-latest
7078
env:
71-
SA_PASSWORD: 1Secure*Password1
79+
MSSQL_SA_PASSWORD: 1Secure*Password1
7280
ACCEPT_EULA: Y
7381
MSSQL_PID: Developer
7482
ports:
7583
- 1433:1433
76-
options: --health-cmd="/opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q 'SELECT @@VERSION'" --health-interval=10s --health-timeout=5s --health-retries=3
84+
options: >-
85+
--health-cmd="/opt/mssql-tools18/bin/sqlcmd -C -S 127.0.0.1 -U sa -P 1Secure*Password1 -Q 'SELECT @@VERSION'"
86+
--health-interval=10s
87+
--health-timeout=5s
88+
--health-retries=3
7789
7890
oracle:
79-
image: gvenzl/oracle-xe:18
91+
image: gvenzl/oracle-xe:21
8092
env:
8193
ORACLE_RANDOM_PASSWORD: true
8294
APP_USER: ORACLE

0 commit comments

Comments
 (0)