Skip to content

Commit 093fbde

Browse files
committed
Update GH Actions test configuration to include Redis 8.4.0 and redis-py 7.x
1 parent 4d3ba70 commit 093fbde

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ jobs:
9696
matrix:
9797
# 3.11 tests are run in the service-tests job
9898
python-version: ["3.9", "3.10", "3.12", "3.13"]
99-
redis-py-version: ["5.x", "6.x"]
100-
redis-version: ["6.2.6-v9", "latest", "8.0.2"]
99+
redis-py-version: ["5.x", "6.x", "7.x"]
100+
redis-version: ["6.2.6-v9", "latest", "8.0.2", "8.4.0"]
101101
steps:
102102
- name: Check out repository
103103
uses: actions/checkout@v4
@@ -130,13 +130,15 @@ jobs:
130130
# Install right redis version based on redis py
131131
if [[ "${{ matrix.redis-py-version }}" == "5.x" ]]; then
132132
uv pip install "redis>=5,<6"
133-
else
133+
elif [[ "${{ matrix.redis-py-version }}" == "6.x" ]]; then
134134
uv pip install "redis>=6,<7"
135+
else
136+
uv pip install "redis>=7,<8"
135137
fi
136138
137139
- name: Set Redis image name
138140
run: |
139-
if [[ "${{ matrix.redis-version }}" == "8.0.2" ]]; then
141+
if [[ "${{ matrix.redis-version }}" == "8.0.2" || "${{ matrix.redis-version }}" == "8.4.0" ]]; then
140142
echo "REDIS_IMAGE=redis:${{ matrix.redis-version }}" >> $GITHUB_ENV
141143
else
142144
echo "REDIS_IMAGE=redis/redis-stack-server:${{ matrix.redis-version }}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)