Skip to content

Commit

Permalink
Merge pull request zarr-developers#677 from Carreau/tred
Browse files Browse the repository at this point in the history
Try to re-enable Redis
  • Loading branch information
Carreau authored Dec 21, 2020
2 parents 44670bc + 01e6b63 commit 6352b76
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ jobs:
python-version: ['3.6.9' , 3.7, 3.8]
numpy_version: ['==1.16.4', '']
services:
redis:
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
mongodb:
image: mongo:3.4.23
ports:
Expand All @@ -44,7 +54,7 @@ jobs:
conda activate zarr-env
python -m pip install --upgrade pip
python -m pip install -U pip setuptools wheel codecov
python -m pip install -rrequirements_dev_minimal.txt numpy${{ matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo
python -m pip install -rrequirements_dev_minimal.txt numpy${{ matrix.numpy_version}} -rrequirements_dev_optional.txt pymongo redis
python -m pip install -e .
python -m pip freeze
- name: Tests
Expand All @@ -53,7 +63,7 @@ jobs:
COVERAGE_FILE: .coverage.${{matrix.python-version}}.${{matrix.numpy_version}}
ZARR_TEST_ABS: 0
ZARR_TEST_MONGO: 1
ZARR_TEST_REDIS: 0
ZARR_TEST_REDIS: 1
run: |
conda activate zarr-env
pytest --cov=zarr --cov-config=.coveragerc --doctest-plus --cov-report xml --cov=./
Expand Down

0 comments on commit 6352b76

Please sign in to comment.