File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 18
18
python-version : ['3.6.9' , 3.7, 3.8]
19
19
numpy_version : ['==1.16.4', '']
20
20
services :
21
+ redis :
22
+ image : redis
23
+ # Set health checks to wait until redis has started
24
+ options : >-
25
+ --health-cmd "redis-cli ping"
26
+ --health-interval 10s
27
+ --health-timeout 5s
28
+ --health-retries 5
29
+ ports :
30
+ - 6379:6379
21
31
mongodb :
22
32
image : mongo:3.4.23
23
33
ports :
44
54
conda activate zarr-env
45
55
python -m pip install --upgrade pip
46
56
python -m pip install -U pip setuptools wheel codecov
47
- python -m pip install -rrequirements_dev_minimal.txt numpy${{ matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo
57
+ python -m pip install -rrequirements_dev_minimal.txt numpy${{ matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo redis
48
58
python -m pip install -e .
49
59
python -m pip freeze
50
60
- name : Tests
53
63
COVERAGE_FILE : .coverage.${{matrix.python-version}}.${{matrix.numpy_version}}
54
64
ZARR_TEST_ABS : 0
55
65
ZARR_TEST_MONGO : 1
56
- ZARR_TEST_REDIS : 0
66
+ ZARR_TEST_REDIS : 1
57
67
run : |
58
68
conda activate zarr-env
59
69
pytest --cov=zarr --cov-config=.coveragerc --doctest-plus --cov-report xml --cov=./
You can’t perform that action at this time.
0 commit comments