diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 5460598..fb2bc41 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -20,6 +20,30 @@ jobs: --health-timeout 5s --health-retries 5 + redis: + image: redis + ports: + - 6379:6379 + options: >- + --health-cmd "redis-cli ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + + redis-sentinel: + image: bitnami/redis-sentinel + env: + REDIS_MASTER_HOST: redis + REDIS_MASTER_SET: data + REDIS_SENTINEL_QUORUM: 1 + ports: + - 26379:26379 + options: >- + --health-cmd "redis-cli -p 26379 ping" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + env: PGHOST: localhost PGUSER: postgres