From 5c05d0965abf7049fb8a5e2b83236c3a4642e99f Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Sun, 7 Sep 2025 20:30:14 +0300 Subject: [PATCH] ci: add redis service --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b03abf0..e12388ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,18 @@ on: jobs: tests: runs-on: ubuntu-latest + + services: + redis: + image: redis:7-alpine + ports: + - 6379/tcp + options: >- + --health-cmd "redis-cli ping || exit 1" + --health-interval 5s + --health-timeout 3s + --health-retries 10 + steps: - uses: actions/checkout@v2 - name: Install dependencies -- 2.51.2