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 8686 env :
8787 OS : ${{ matrix.os }}
8888 PYTHON : ${{ matrix.python-version }}
89+ services :
90+ redis :
91+ image : redis
92+ ports :
93+ - 6379:6379
94+ options : >-
95+ --health-cmd "redis-cli ping"
96+ --health-interval 10s
97+ --health-timeout 5s
98+ --health-retries 5
8999 steps :
90100 - uses : actions/checkout@v2
91101 with :
@@ -94,11 +104,6 @@ jobs:
94104 # code from the PR.
95105 ref : refs/pull/${{ github.event.pull_request.number }}/merge
96106 submodules : recursive
97- - name : Start Redis
98- uses :
supercharge/[email protected] 99- with :
100- redis-version : ${{ matrix.redis-version }}
101- redis-port : 12345
102107 - name : Setup Python
103108 uses : actions/setup-python@v2
104109 id : setup-python
@@ -149,6 +154,10 @@ jobs:
149154 run : |
150155 make compile-protos-go
151156 make install-python-ci-dependencies
157+ - name : Start Redis
158+ uses :
supercharge/[email protected] 159+ with :
160+ redis-port : 12345
152161 - name : Setup Redis Cluster
153162 run : |
154163 docker pull vishnunair/docker-redis-cluster:latest
You can’t perform that action at this time.
0 commit comments