Skip to content

Commit 1db76ef

Browse files
committed
fix(redis): add redis to github test workflow
1 parent bb3efce commit 1db76ef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,20 @@ jobs:
4646
--health-retries 5
4747
ports:
4848
- 5432:5432
49+
redis:
50+
image: redis
51+
options: >-
52+
--health-cmd "redis-cli ping"
53+
--health-interval 10s
54+
--health-timeout 5s
55+
--health-retries 5
4956
env:
5057
POSTGRES_DB: chanx_test_db
5158
POSTGRES_USER: chanx_test_user
5259
POSTGRES_PASSWORD: chanx_test_pass
5360
POSTGRES_HOST: localhost
5461
POSTGRES_PORT: 5432
62+
REDIS_HOST: redis://localhost:6379
5563
steps:
5664
- name: Dump GitHub context
5765
env:

0 commit comments

Comments
 (0)