Skip to content

Commit fb50dbd

Browse files
committed
Use matrix to execute hiredis<=3.0.0 tests
1 parent 3f2926c commit fb50dbd

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ jobs:
125125
redis-version: [ '${{ needs.redis_version.outputs.CURRENT }}' ]
126126
python-version: [ '3.8', '3.12']
127127
parser-backend: [ 'hiredis' ]
128+
hiredis-version: [ '>=3.0.0', '<3.0.0' ]
128129
event-loop: [ 'asyncio' ]
129130
env:
130131
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
@@ -137,15 +138,7 @@ jobs:
137138
python-version: ${{ matrix.python-version }}
138139
parser-backend: ${{ matrix.parser-backend }}
139140
redis-version: ${{ matrix.redis-version }}
140-
141-
- name: Run tests against hiredis < 3.0.0
142-
uses: ./.github/actions/run-tests
143-
if: ${{ matrix.parser-backend == 'hiredis' && matrix.python-version == '3.12'}}
144-
with:
145-
python-version: ${{ matrix.python-version }}
146-
parser-backend: ${{ matrix.parser-backend }}
147-
redis-version: ${{ matrix.redis-version }}
148-
hiredis-version: '<3.0.0'
141+
hiredis-version: ${{ matrix.hiredis-version }}
149142

150143
uvloop-tests:
151144
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)