Skip to content

Commit f96c17d

Browse files
committed
wait for redis to be ready before proceeding with tests
1 parent 4328f6b commit f96c17d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ jobs:
1818
services:
1919
redis:
2020
image: redis
21+
options: >-
22+
--health-cmd "redis-cli ping"
23+
--health-interval 10s
24+
--health-timeout 5s
25+
--health-retries 5
2126
ports:
2227
- 6379:6379
2328

0 commit comments

Comments
 (0)