Skip to content

Commit 3c86472

Browse files
authored
Test SQLServer 2017 on Ubuntu 22.04 (#55716)
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
1 parent 2661ac8 commit 3c86472

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

.github/workflows/databases.yml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -293,53 +293,53 @@ jobs:
293293
DB_USERNAME: SA
294294
DB_PASSWORD: Forge123
295295

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

344344
sqlite:
345345
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)