File tree Expand file tree Collapse file tree 2 files changed +24
-5
lines changed
Expand file tree Collapse file tree 2 files changed +24
-5
lines changed Original file line number Diff line number Diff line change 6666 env :
6767 OS : ${{ matrix.os }}
6868 PYTHON : ${{ matrix.python-version }}
69+ services :
70+ redis :
71+ image : redis
72+ ports :
73+ - 6379:6379
74+ options : >-
75+ --health-cmd "redis-cli ping"
76+ --health-interval 10s
77+ --health-timeout 5s
78+ --health-retries 5
6979 steps :
7080 - uses : actions/checkout@v2
7181 - name : Setup Python
Original file line number Diff line number Diff line change 8484 env :
8585 OS : ${{ matrix.os }}
8686 PYTHON : ${{ matrix.python-version }}
87+ services :
88+ redis :
89+ image : redis
90+ ports :
91+ - 6379:6379
92+ options : >-
93+ --health-cmd "redis-cli ping"
94+ --health-interval 10s
95+ --health-timeout 5s
96+ --health-retries 5
8797 steps :
8898 - uses : actions/checkout@v2
8999 with :
@@ -92,11 +102,6 @@ jobs:
92102 # code from the PR.
93103 ref : refs/pull/${{ github.event.pull_request.number }}/merge
94104 submodules : recursive
95- - name : Start Redis
96- uses : supercharge/redis-github-action@1.4.0
97- with :
98- redis-version : ${{ matrix.redis-version }}
99- redis-port : 12345
100105 - name : Setup Python
101106 uses : actions/setup-python@v2
102107 id : setup-python
@@ -147,6 +152,10 @@ jobs:
147152 run : |
148153 make compile-protos-go
149154 make install-python-ci-dependencies
155+ - name : Start Redis
156+ uses : supercharge/redis-github-action@1.4.0
157+ with :
158+ redis-port : 12345
150159 - name : Setup Redis Cluster
151160 run : |
152161 docker pull vishnunair/docker-redis-cluster:latest
You can’t perform that action at this time.
0 commit comments