summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChayim I. Kirshen <c@kirshen.com>2023-05-15 14:57:43 +0300
committerChayim I. Kirshen <c@kirshen.com>2023-05-15 14:57:43 +0300
commitf3cdecebb4df8972bff97310a5f1f9d2aa155dea (patch)
tree23d7337a25adf03f4b6d2a8580ba13245acfb419
parentd9d4109aa97102eb945a57b69a22b444b195a731 (diff)
downloadredis-py-f3cdecebb4df8972bff97310a5f1f9d2aa155dea.tar.gz
matrix consolidation
-rw-r--r--.github/workflows/version_coverage.yml28
1 files changed, 17 insertions, 11 deletions
diff --git a/.github/workflows/version_coverage.yml b/.github/workflows/version_coverage.yml
index bd1a513..3d975fd 100644
--- a/.github/workflows/version_coverage.yml
+++ b/.github/workflows/version_coverage.yml
@@ -21,19 +21,25 @@ jobs:
run-tests:
services:
- redis:
- image: redis:${{matrix.redis-version}}
- ports:
- - 6379:6379
+ redis:
+ image: redis:${{matrix.redis-version}}
+ ports:
+ - 6379:6379
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
- max-parallel: 15
- fail-fast: false
- matrix:
- python-version: ['3.7', '3.11']
- redis-version: ['5.0', '6.0', '6.2', '7.0']
- resp: ['2', '3']
+ max-parallel: 15
+ fail-fast: false
+ matrix:
+ redis-version: ['5.0', '6.0', '6.2', '7.0']
+ python-version: ['3.7', '3.11']
+ redis-url: ["redis://localhost:6379"]
+ resp: ["2"]
+ include:
+ - redis-version: 7.0
+ redis-url: "redis://localhost:6379?protocol=3"
+ resp: "3"
+ - redis-version: 7.0
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
@@ -49,4 +55,4 @@ jobs:
run: |
pip install -U setuptools wheel
pip install -r dev_requirements.txt
- pytest -m "not onlycluster and not redismod and not ssl" --redis-url=redis://localhost:6379?protocol=${{matrix.resp}} \ No newline at end of file
+ pytest -m "not onlycluster and not redismod and not ssl" --redis-url=${{matrix.redis-url}} \ No newline at end of file