Skip to content

Commit 2714f96

Browse files
authored
[11.x] CI Improvements (#52850)
Disable SQL Server 2017 Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 3e56cc4 commit 2714f96

File tree

1 file changed

+52
-46
lines changed

1 file changed

+52
-46
lines changed

.github/workflows/databases.yml

Lines changed: 52 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
jobs:
1111
mysql_57:
1212
runs-on: ubuntu-24.04
13+
timeout-minutes: 5
1314

1415
services:
1516
mysql:
@@ -56,6 +57,7 @@ jobs:
5657

5758
mysql_8:
5859
runs-on: ubuntu-24.04
60+
timeout-minutes: 5
5961

6062
services:
6163
mysql:
@@ -101,6 +103,7 @@ jobs:
101103

102104
mariadb:
103105
runs-on: ubuntu-24.04
106+
timeout-minutes: 5
104107

105108
services:
106109
mariadb:
@@ -146,6 +149,7 @@ jobs:
146149

147150
pgsql_14:
148151
runs-on: ubuntu-24.04
152+
timeout-minutes: 5
149153

150154
services:
151155
postgresql:
@@ -194,6 +198,7 @@ jobs:
194198

195199
pgsql_10:
196200
runs-on: ubuntu-24.04
201+
timeout-minutes: 5
197202

198203
services:
199204
postgresql:
@@ -287,55 +292,56 @@ jobs:
287292
DB_USERNAME: SA
288293
DB_PASSWORD: Forge123
289294

290-
mssql_2017:
291-
runs-on: ubuntu-22.04
292-
293-
services:
294-
sqlsrv:
295-
image: mcr.microsoft.com/mssql/server:2017-latest
296-
env:
297-
ACCEPT_EULA: Y
298-
SA_PASSWORD: Forge123
299-
ports:
300-
- 1433:1433
301-
302-
strategy:
303-
fail-fast: true
304-
305-
name: SQL Server 2017
306-
307-
steps:
308-
- name: Checkout code
309-
uses: actions/checkout@v4
310-
311-
- name: Setup PHP
312-
uses: shivammathur/setup-php@v2
313-
with:
314-
php-version: 8.2
315-
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc, :php-psr
316-
tools: composer:v2
317-
coverage: none
318-
319-
- name: Set Framework version
320-
run: composer config version "11.x-dev"
321-
322-
- name: Install dependencies
323-
uses: nick-fields/retry@v3
324-
with:
325-
timeout_minutes: 5
326-
max_attempts: 5
327-
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
328-
329-
- name: Execute tests
330-
run: vendor/bin/phpunit tests/Integration/Database
331-
env:
332-
DB_CONNECTION: sqlsrv
333-
DB_DATABASE: master
334-
DB_USERNAME: SA
335-
DB_PASSWORD: Forge123
295+
# mssql_2017:
296+
# runs-on: ubuntu-22.04
297+
298+
# services:
299+
# sqlsrv:
300+
# image: mcr.microsoft.com/mssql/server:2017-latest
301+
# env:
302+
# ACCEPT_EULA: Y
303+
# SA_PASSWORD: Forge123
304+
# ports:
305+
# - 1433:1433
306+
307+
# strategy:
308+
# fail-fast: true
309+
310+
# name: SQL Server 2017
311+
312+
# steps:
313+
# - name: Checkout code
314+
# uses: actions/checkout@v4
315+
316+
# - name: Setup PHP
317+
# uses: shivammathur/setup-php@v2
318+
# with:
319+
# php-version: 8.2
320+
# extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc, :php-psr
321+
# tools: composer:v2
322+
# coverage: none
323+
324+
# - name: Set Framework version
325+
# run: composer config version "11.x-dev"
326+
327+
# - name: Install dependencies
328+
# uses: nick-fields/retry@v3
329+
# with:
330+
# timeout_minutes: 5
331+
# max_attempts: 5
332+
# command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
333+
334+
# - name: Execute tests
335+
# run: vendor/bin/phpunit tests/Integration/Database
336+
# env:
337+
# DB_CONNECTION: sqlsrv
338+
# DB_DATABASE: master
339+
# DB_USERNAME: SA
340+
# DB_PASSWORD: Forge123
336341

337342
sqlite:
338343
runs-on: ubuntu-24.04
344+
timeout-minutes: 5
339345

340346
strategy:
341347
fail-fast: true

0 commit comments

Comments
 (0)