@@ -64,21 +64,10 @@ jobs:
64
64
fail-fast : false
65
65
matrix :
66
66
redis-version : ['8.0.0-M01']
67
- resp-protocol : ['2', '3']
68
67
test-type : ['standalone', 'cluster']
69
68
python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
70
- parser-backend : ['hiredis', ' plain']
69
+ parser-backend : ['plain']
71
70
event-loop : ['asyncio']
72
- include :
73
- # Run uvloop tests only for resp3
74
- - resp-protocol : ' 3'
75
- parser-backend : ' plain'
76
- redis-version : ' 8.0.0-M01'
77
- event-loop : ' uvloop'
78
- exclude :
79
- - test-type : ' cluster'
80
- parser-backend : ' hiredis'
81
- resp-protocol : ' 3'
82
71
env :
83
72
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
84
73
name : Redis ${{ matrix.redis-version }} - RESP${{ matrix.resp-protocol }} ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.parser-backend}}-${{matrix.event-loop}}
@@ -90,20 +79,68 @@ jobs:
90
79
python-version : ${{ matrix.python-version }}
91
80
test-type : ${{ matrix.test-type }}
92
81
parser-backend : ${{ matrix.parser-backend }}
93
- resp-protocol : ${{ matrix.resp-protocol }}
94
82
redis-version : ${{ matrix.redis-version }}
95
83
84
+ hiredis-tests :
85
+ runs-on : ubuntu-latest
86
+ timeout-minutes : 60
87
+ strategy :
88
+ max-parallel : 15
89
+ fail-fast : false
90
+ matrix :
91
+ redis-version : [ '8.0.0-M01' ]
92
+ test-type : [ 'standalone', 'cluster' ]
93
+ python-version : [ '3.8', '3.12']
94
+ parser-backend : [ 'hiredis' ]
95
+ event-loop : [ 'asyncio' ]
96
+ env :
97
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
98
+ name : Redis ${{ matrix.redis-version }} - RESP${{ matrix.resp-protocol }} ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.parser-backend}}-${{matrix.event-loop}}
99
+ steps :
100
+ - uses : actions/checkout@v4
101
+ - name : Run tests
102
+ uses : ./.github/actions/run-tests
103
+ with :
104
+ python-version : ${{ matrix.python-version }}
105
+ test-type : ${{ matrix.test-type }}
106
+ parser-backend : ${{ matrix.parser-backend }}
107
+ redis-version : ${{ matrix.redis-version }}
108
+
96
109
- name : Run tests against hiredis < 3.0.0
97
110
uses : ./.github/actions/run-tests
98
111
if : ${{ matrix.parser-backend == 'hiredis' && matrix.python-version == '3.12'}}
99
112
with :
100
113
python-version : ${{ matrix.python-version }}
101
114
test-type : ${{ matrix.test-type }}
102
115
parser-backend : ${{ matrix.parser-backend }}
103
- resp-protocol : ${{ matrix.resp-protocol }}
104
116
redis-version : ${{ matrix.redis-version }}
105
117
hiredis-version : ' <3.0.0'
106
118
119
+ uvloop-tests :
120
+ runs-on : ubuntu-latest
121
+ timeout-minutes : 60
122
+ strategy :
123
+ max-parallel : 15
124
+ fail-fast : false
125
+ matrix :
126
+ redis-version : [ '8.0.0-M01' ]
127
+ test-type : [ 'standalone', 'cluster' ]
128
+ python-version : [ '3.8', '3.12' ]
129
+ parser-backend : [ 'plain' ]
130
+ event-loop : [ 'uvloop' ]
131
+ env :
132
+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
133
+ name : Redis ${{ matrix.redis-version }} - RESP${{ matrix.resp-protocol }} ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.parser-backend}}-${{matrix.event-loop}}
134
+ steps :
135
+ - uses : actions/checkout@v4
136
+ - name : Run tests
137
+ uses : ./.github/actions/run-tests
138
+ with :
139
+ python-version : ${{ matrix.python-version }}
140
+ test-type : ${{ matrix.test-type }}
141
+ parser-backend : ${{ matrix.parser-backend }}
142
+ redis-version : ${{ matrix.redis-version }}
143
+
107
144
build-and-test-package :
108
145
name : Validate building and installing the package
109
146
runs-on : ubuntu-latest
0 commit comments