Skip to content

Commit 0eba572

Browse files
committed
ci(scrutinizer): allow MySQL service startup time
1 parent fcf05d6 commit 0eba572

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.scrutinizer.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ build:
5757
MYSQL_DATABASE: "scrutinizer"
5858
ports:
5959
- 3306
60+
ramdisks:
61+
- /var/lib/mysql
6062
redis: "6"
6163

6264
environment:
@@ -68,7 +70,7 @@ build:
6870
API_DB_NAME: "scrutinizer"
6971
API_DB_USER: "root"
7072
API_DB_PASSWORD: "scrutinizer"
71-
API_DB_TIMEOUT: "90"
73+
API_DB_TIMEOUT: "300"
7274

7375
DB_HOST: "127.0.0.1"
7476
DB_PORT: "3306"
@@ -88,7 +90,8 @@ build:
8890
- composer install -o --no-interaction --no-progress --prefer-dist --classmap-authoritative
8991

9092
# 🧠 Warmup DB (skip timing problems)
91-
- php tests/bootstrap/prepare_api_mysql.php
93+
- command: php tests/bootstrap/prepare_api_mysql.php
94+
idle_timeout: 600
9295

9396
# ⚙️ Dynamic config
9497
- php -r '

0 commit comments

Comments
 (0)