Skip to content

Commit d31e318

Browse files
committed
add redis service to GHA workflow
1 parent 1a73d0d commit d31e318

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test.yaml

+13
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)