Skip to content

Commit

Permalink
Disable postgres build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Nov 6, 2021
1 parent 2d1fa2f commit 5869c9d
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,49 +132,49 @@ jobs:
DB_CONNECTION: mysql
DB_USERNAME: root

pgsql:
runs-on: ubuntu-20.04

services:
postgresql:
image: postgres:14
env:
POSTGRES_DB: forge
POSTGRES_USER: forge
POSTGRES_PASSWORD: password
ports:
- 5432:5432
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3

strategy:
fail-fast: true

name: PostgreSQL 14

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Install dependencies
uses: nick-invision/retry@v1
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 --verbose --exclude-group MySQL
env:
DB_CONNECTION: pgsql
DB_PASSWORD: password
# pgsql:
# runs-on: ubuntu-20.04

# services:
# postgresql:
# image: postgres:14
# env:
# POSTGRES_DB: forge
# POSTGRES_USER: forge
# POSTGRES_PASSWORD: password
# ports:
# - 5432:5432
# options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3

# strategy:
# fail-fast: true

# name: PostgreSQL 14

# steps:
# - name: Checkout code
# uses: actions/checkout@v2

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

# - name: Install dependencies
# uses: nick-invision/retry@v1
# 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 --verbose --exclude-group MySQL
# env:
# DB_CONNECTION: pgsql
# DB_PASSWORD: password

mssql:
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 5869c9d

Please sign in to comment.