Skip to content

Commit 51f6b45

Browse files
committed
ci(workflow): 为5.0.x PR补充Redis服务
1 parent 288c441 commit 51f6b45

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/pull_request_5x.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ jobs:
88
build:
99

1010
runs-on: ubuntu-latest
11+
services:
12+
redis:
13+
image: redis:7-alpine
14+
ports:
15+
- 6379:6379
16+
options: >-
17+
--health-cmd "redis-cli ping"
18+
--health-interval 10s
19+
--health-timeout 5s
20+
--health-retries 5
1121
1222
steps:
1323
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)