Skip to content

Commit c7b84a2

Browse files
committed
add redis instance for test
1 parent bef6c24 commit c7b84a2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ on:
99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12+
13+
services:
14+
redis:
15+
image: redis/redis-stack:latest
16+
ports:
17+
- 6379:6379
18+
options: >-
19+
--health-cmd "redis-cli ping"
20+
--health-interval 10s
21+
--health-timeout 5s
22+
--health-retries 5
1223
1324
steps:
1425
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)