Skip to content

Commit b21e786

Browse files
Bound database-backed CI test phases
1 parent 6b03ed0 commit b21e786

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/php.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,16 @@ jobs:
7777
mysql -e 'CREATE DATABASE testbench' -h127.0.0.1 -uroot -ppassword -P ${{ job.services.mysql.ports[3306] }}
7878
7979
- name: Run test suite (MySQL)
80-
run: vendor/bin/phpunit --testdox --debug --testsuite feature
80+
timeout-minutes: 35
81+
run: timeout --foreground 30m vendor/bin/phpunit --testdox --debug --testsuite feature
8182
env:
8283
DB_CONNECTION: mysql
8384
DB_PORT: ${{ job.services.mysql.ports[3306] }}
8485
QUEUE_CONNECTION: redis
8586

8687
- name: Run test suite (PostgreSQL)
87-
run: vendor/bin/phpunit --testdox --debug --testsuite feature
88+
timeout-minutes: 35
89+
run: timeout --foreground 30m vendor/bin/phpunit --testdox --debug --testsuite feature
8890
env:
8991
DB_CONNECTION: pgsql
9092
DB_PORT: ${{ job.services.postgres.ports[5432] }}

0 commit comments

Comments
 (0)