File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 99 tests :
1010 name : " Python ${{ matrix.python-version }}"
1111 runs-on : " ubuntu-latest"
12-
1312 strategy :
1413 fail-fast : false
1514 matrix :
1615 python-version : ["3.7", "3.8", "3.9"]
1716
17+ services :
18+ redisai :
19+ image : redislabs/redisai:edge-cpu-bionic
20+ # Set health checks to wait until redis has started
21+ options : >-
22+ --health-cmd "redis-cli ping"
23+ --health-interval 10s
24+ --health-timeout 5s
25+ --health-retries 5
1826 steps :
19- - uses : " actions/checkout@v2"
20- - uses : " actions/setup-python@v2"
27+ - name : Checkout Code
28+ uses : " actions/checkout@v2"
29+ - name : Setup Python
30+ uses : " actions/setup-python@v2"
2131 with :
22- python-version : ${{ matrix.python-version }}
32+ python-version : ${{ matrix.python-version }}
33+ - name : Redis Connection Check
34+ env :
35+ REDIS_HOST : redis
36+ REDIS_PORT : 6379
37+ run : |
38+ redis-cli ping
You can’t perform that action at this time.
0 commit comments