Skip to content

Commit 6352b76

Browse files
authored
Merge pull request #677 from Carreau/tred
Try to re-enable Redis
2 parents 44670bc + 01e6b63 commit 6352b76

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@ jobs:
1818
python-version: ['3.6.9' , 3.7, 3.8]
1919
numpy_version: ['==1.16.4', '']
2020
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
2131
mongodb:
2232
image: mongo:3.4.23
2333
ports:
@@ -44,7 +54,7 @@ jobs:
4454
conda activate zarr-env
4555
python -m pip install --upgrade pip
4656
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
4858
python -m pip install -e .
4959
python -m pip freeze
5060
- name: Tests
@@ -53,7 +63,7 @@ jobs:
5363
COVERAGE_FILE: .coverage.${{matrix.python-version}}.${{matrix.numpy_version}}
5464
ZARR_TEST_ABS: 0
5565
ZARR_TEST_MONGO: 1
56-
ZARR_TEST_REDIS: 0
66+
ZARR_TEST_REDIS: 1
5767
run: |
5868
conda activate zarr-env
5969
pytest --cov=zarr --cov-config=.coveragerc --doctest-plus --cov-report xml --cov=./

0 commit comments

Comments
 (0)