Skip to content

Commit da8b828

Browse files
committed
Require redis passwd in test env
1 parent a6d3df6 commit da8b828

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ jobs:
2222
# Docker Hub image
2323
image: redis
2424
# Set health checks to wait until redis has started
25+
env:
26+
REDIS_PASSWORD: somerealpassword
2527
options: >-
2628
--health-cmd "redis-cli ping"
2729
--health-interval 10s
2830
--health-timeout 5s
2931
--health-retries 5
32+
--requirepass somerealpassword
3033
ports:
3134
# Maps port 6379 on service container to the host
3235
- 6379:6379

0 commit comments

Comments
 (0)