@@ -132,49 +132,49 @@ jobs:
132132 DB_CONNECTION : mysql
133133 DB_USERNAME : root
134134
135- # pgsql:
136- # runs-on: ubuntu-20.04
137-
138- # services:
139- # postgresql:
140- # image: postgres:14
141- # env:
142- # POSTGRES_DB: forge
143- # POSTGRES_USER: forge
144- # POSTGRES_PASSWORD: password
145- # ports:
146- # - 5432:5432
147- # options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3
148-
149- # strategy:
150- # fail-fast: true
151-
152- # name: PostgreSQL 14
153-
154- # steps:
155- # - name: Checkout code
156- # uses: actions/checkout@v2
157-
158- # - name: Setup PHP
159- # uses: shivammathur/setup-php@v2
160- # with:
161- # php-version: 8.1
162- # extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql
163- # tools: composer:v2
164- # coverage: none
165-
166- # - name: Install dependencies
167- # uses: nick-invision/retry@v1
168- # with:
169- # timeout_minutes: 5
170- # max_attempts: 5
171- # command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress
172-
173- # - name: Execute tests
174- # run: vendor/bin/phpunit tests/Integration/Database --verbose
175- # env:
176- # DB_CONNECTION: pgsql
177- # DB_PASSWORD: password
135+ pgsql :
136+ runs-on : ubuntu-20.04
137+
138+ services :
139+ postgresql :
140+ image : postgres:14
141+ env :
142+ POSTGRES_DB : forge
143+ POSTGRES_USER : forge
144+ POSTGRES_PASSWORD : password
145+ ports :
146+ - 5432:5432
147+ options : --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3
148+
149+ strategy :
150+ fail-fast : true
151+
152+ name : PostgreSQL 14
153+
154+ steps :
155+ - name : Checkout code
156+ uses : actions/checkout@v2
157+
158+ - name : Setup PHP
159+ uses : shivammathur/setup-php@v2
160+ with :
161+ php-version : 8.1
162+ extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql
163+ tools : composer:v2
164+ coverage : none
165+
166+ - name : Install dependencies
167+ uses : nick-invision/retry@v1
168+ with :
169+ timeout_minutes : 5
170+ max_attempts : 5
171+ command : composer update --prefer-stable --prefer-dist --no-interaction --no-progress
172+
173+ - name : Execute tests
174+ run : vendor/bin/phpunit tests/Integration/Database --verbose
175+ env :
176+ DB_CONNECTION : pgsql
177+ DB_PASSWORD : password
178178
179179 mssql :
180180 runs-on : ubuntu-20.04
0 commit comments