Skip to content

Commit 06aedfa

Browse files
committed
add redis service to GHA workflow
1 parent 3947674 commit 06aedfa

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ jobs:
5454
- 5672:5672/tcp # AMQP standard port
5555
- 15672:15672/tcp # Management: HTTP, CLI
5656

57+
redis:
58+
# Docker Hub image
59+
image: redis
60+
# Set health checks to wait until redis has started
61+
options: >-
62+
--name "redis"
63+
--health-cmd "redis-cli ping"
64+
--health-interval 10s
65+
--health-timeout 5s
66+
--health-retries 5
67+
ports:
68+
- 6379:6379/tcp
69+
5770
env:
5871
COLUMNS: '120'
5972

0 commit comments

Comments
 (0)