Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 45 additions & 45 deletions .github/workflows/databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,48 +189,48 @@ jobs:
DB_CONNECTION: pgsql
DB_PASSWORD: password

# mssql:
# runs-on: ubuntu-20.04

# services:
# sqlsrv:
# image: mcr.microsoft.com/mssql/server:2019-latest
# env:
# ACCEPT_EULA: Y
# SA_PASSWORD: Forge123
# ports:
# - 1433:1433

# strategy:
# fail-fast: true

# name: SQL Server 2019

# steps:
# - name: Checkout code
# uses: actions/checkout@v3
# with:
# fetch-depth: 0

# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: 8.1
# extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc
# tools: composer:v2
# coverage: none

# - name: Install dependencies
# uses: nick-fields/retry@v2
# with:
# timeout_minutes: 5
# max_attempts: 5
# command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

# - name: Execute tests
# run: vendor/bin/phpunit tests/Integration/Database
# env:
# DB_CONNECTION: sqlsrv
# DB_DATABASE: master
# DB_USERNAME: SA
# DB_PASSWORD: Forge123
mssql:
runs-on: ubuntu-20.04

services:
sqlsrv:
image: mcr.microsoft.com/mssql/server:2019-latest
env:
ACCEPT_EULA: Y
SA_PASSWORD: Forge123
ports:
- 1433:1433

strategy:
fail-fast: true

name: SQL Server 2019

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc
tools: composer:v2
coverage: none

- name: Install dependencies
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: sqlsrv
DB_DATABASE: master
DB_USERNAME: SA
DB_PASSWORD: Forge123