ci(gitea): longer MySQL service health window for wp-framework tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqpXh3hQMMaC74pTjFq4it
This commit is contained in:
@@ -158,11 +158,14 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
MYSQL_ROOT_PASSWORD: root
|
MYSQL_ROOT_PASSWORD: root
|
||||||
MYSQL_DATABASE: wp_tests
|
MYSQL_DATABASE: wp_tests
|
||||||
|
# First-boot init is slow on the CPU-limited shared runner; GitHub's
|
||||||
|
# 5 x 10s health window was not enough here.
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd="mysqladmin ping"
|
--health-cmd="mysqladmin ping"
|
||||||
--health-interval=10s
|
--health-interval=10s
|
||||||
--health-timeout=5s
|
--health-timeout=5s
|
||||||
--health-retries=5
|
--health-start-period=60s
|
||||||
|
--health-retries=20
|
||||||
"""
|
"""
|
||||||
out.append(f"""
|
out.append(f"""
|
||||||
phpunit:
|
phpunit:
|
||||||
|
|||||||
Reference in New Issue
Block a user