Skip to content

Commit 7dea22c

Browse files
Re-enable SQL Server CI (#48393)
1 parent bfa85b8 commit 7dea22c

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

.github/workflows/databases.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -189,48 +189,48 @@ jobs:
189189
DB_CONNECTION: pgsql
190190
DB_PASSWORD: password
191191

192-
# mssql:
193-
# runs-on: ubuntu-20.04
194-
195-
# services:
196-
# sqlsrv:
197-
# image: mcr.microsoft.com/mssql/server:2019-latest
198-
# env:
199-
# ACCEPT_EULA: Y
200-
# SA_PASSWORD: Forge123
201-
# ports:
202-
# - 1433:1433
203-
204-
# strategy:
205-
# fail-fast: true
206-
207-
# name: SQL Server 2019
208-
209-
# steps:
210-
# - name: Checkout code
211-
# uses: actions/checkout@v3
212-
# with:
213-
# fetch-depth: 0
214-
215-
# - name: Setup PHP
216-
# uses: shivammathur/setup-php@v2
217-
# with:
218-
# php-version: 8.1
219-
# extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc
220-
# tools: composer:v2
221-
# coverage: none
222-
223-
# - name: Install dependencies
224-
# uses: nick-fields/retry@v2
225-
# with:
226-
# timeout_minutes: 5
227-
# max_attempts: 5
228-
# command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
229-
230-
# - name: Execute tests
231-
# run: vendor/bin/phpunit tests/Integration/Database
232-
# env:
233-
# DB_CONNECTION: sqlsrv
234-
# DB_DATABASE: master
235-
# DB_USERNAME: SA
236-
# DB_PASSWORD: Forge123
192+
mssql:
193+
runs-on: ubuntu-20.04
194+
195+
services:
196+
sqlsrv:
197+
image: mcr.microsoft.com/mssql/server:2019-latest
198+
env:
199+
ACCEPT_EULA: Y
200+
SA_PASSWORD: Forge123
201+
ports:
202+
- 1433:1433
203+
204+
strategy:
205+
fail-fast: true
206+
207+
name: SQL Server 2019
208+
209+
steps:
210+
- name: Checkout code
211+
uses: actions/checkout@v3
212+
with:
213+
fetch-depth: 0
214+
215+
- name: Setup PHP
216+
uses: shivammathur/setup-php@v2
217+
with:
218+
php-version: 8.1
219+
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc
220+
tools: composer:v2
221+
coverage: none
222+
223+
- name: Install dependencies
224+
uses: nick-fields/retry@v2
225+
with:
226+
timeout_minutes: 5
227+
max_attempts: 5
228+
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
229+
230+
- name: Execute tests
231+
run: vendor/bin/phpunit tests/Integration/Database
232+
env:
233+
DB_CONNECTION: sqlsrv
234+
DB_DATABASE: master
235+
DB_USERNAME: SA
236+
DB_PASSWORD: Forge123

0 commit comments

Comments
 (0)