ci(gitea): MySQL test DB on tmpfs + wider health window
All checks were successful
CI / Deploy / PHP Lint (8.1) (push) Successful in 18s
CI / Deploy / PHP Lint (8.2) (push) Successful in 17s
CI / Deploy / PHP Lint (8.3) (push) Successful in 16s
CI / Deploy / PHPCS (WordPress standards) (push) Successful in 22s
CI / Deploy / 300-line rule (inc) (push) Successful in 16s
CI / Deploy / PHPUnit - wp-framework (PHP 8.1) (push) Successful in 1m5s
CI / Deploy / PHPUnit - wp-framework (PHP 8.2) (push) Successful in 1m23s
CI / Deploy / PHPUnit - wp-framework (PHP 8.3) (push) Successful in 1m19s
CI / Deploy / JS Lint (push) Successful in 40s
CI / Deploy / Deploy to staging (push) Successful in 28s
CI / Deploy / Audit - commit came from a PR (push) Successful in 1m2s
CI / Deploy / Smoke tests (staging) (push) Successful in 3m24s
CI / Deploy / Deploy to production (push) Successful in 33s
All checks were successful
CI / Deploy / PHP Lint (8.1) (push) Successful in 18s
CI / Deploy / PHP Lint (8.2) (push) Successful in 17s
CI / Deploy / PHP Lint (8.3) (push) Successful in 16s
CI / Deploy / PHPCS (WordPress standards) (push) Successful in 22s
CI / Deploy / 300-line rule (inc) (push) Successful in 16s
CI / Deploy / PHPUnit - wp-framework (PHP 8.1) (push) Successful in 1m5s
CI / Deploy / PHPUnit - wp-framework (PHP 8.2) (push) Successful in 1m23s
CI / Deploy / PHPUnit - wp-framework (PHP 8.3) (push) Successful in 1m19s
CI / Deploy / JS Lint (push) Successful in 40s
CI / Deploy / Deploy to staging (push) Successful in 28s
CI / Deploy / Audit - commit came from a PR (push) Successful in 1m2s
CI / Deploy / Smoke tests (staging) (push) Successful in 3m24s
CI / Deploy / Deploy to production (push) Successful in 33s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AqpXh3hQMMaC74pTjFq4it
This commit is contained in:
@@ -64,14 +64,16 @@ 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
|
# First-boot init took 3.5 min on the CPU-limited shared runner under load
|
||||||
# 5 x 10s health window was not enough here.
|
# (GitHub's 5 x 10s window is far too short here). Data dir on tmpfs: the
|
||||||
|
# test DB is throwaway and disk I/O dominated the init time.
|
||||||
options: >-
|
options: >-
|
||||||
|
--tmpfs /var/lib/mysql:rw
|
||||||
--health-cmd="mysqladmin ping"
|
--health-cmd="mysqladmin ping"
|
||||||
--health-interval=10s
|
--health-interval=10s
|
||||||
--health-timeout=5s
|
--health-timeout=5s
|
||||||
--health-start-period=60s
|
--health-start-period=120s
|
||||||
--health-retries=20
|
--health-retries=30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/ci-phpunit@main
|
- uses: https://git.protopeer.com/peptide-repo/peptide-e2e/.gitea/actions/ci-phpunit@main
|
||||||
|
|||||||
Reference in New Issue
Block a user