From f47df67cbdd1fa960035b67cdcccef21fb8218ad Mon Sep 17 00:00:00 2001 From: nwosum113-ui Date: Sun, 30 Aug 2026 20:51:48 +0100 Subject: [PATCH] Add Redis health check to CI --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52d6c1a..4f4e694 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,14 @@ jobs: --health-timeout 5s --health-retries 5 redis: - image: redis:7-alpine - ports: ["6379:6379"] + image: redis:7 + ports: + - 6379:6379 + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 env: DATABASE_URL: postgresql://chainlearn_test:test_password@localhost:5432/chainlearn_test REDIS_URL: redis://localhost:6379