From d73e7fbd36e785dd744af3ebb6bbba2eafc58912 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Fri, 6 Mar 2026 07:53:13 +0100 Subject: [PATCH] CI: Use shorter readiness times This should lead to faster DB service startups. Ref: https://github.com/github/docs/pull/43243 --- .github/workflows/build_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 26924b8391..c6d63d0335 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -152,7 +152,7 @@ jobs: POSTGRES_PASSWORD: password POSTGRES_DB: alchemy_cms_dummy_test ports: ["5432:5432"] - options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + options: --health-cmd pg_isready --health-interval 1s --health-timeout 1s --health-retries 5 mariadb: image: mariadb:latest ports: ["3307:3306"] @@ -161,7 +161,7 @@ jobs: MARIADB_PASSWORD: password MARIADB_DATABASE: alchemy_cms_dummy_test MARIADB_ROOT_PASSWORD: password - options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5 + options: --health-cmd="mariadb-admin ping" --health-interval=1s --health-timeout=1s --health-retries=5 steps: - uses: actions/checkout@v6 - name: Set up Ruby