@@ -3,20 +3,16 @@ description: 'Runs redis-py tests against different Redis versions and configura
3
3
inputs :
4
4
python-version :
5
5
description : ' Python version to use for running tests'
6
- required : true
7
6
default : ' 3.12'
8
7
test-type :
9
- description : ' Type of tests to run'
8
+ description : ' Type of tests to run: standalone or cluster '
10
9
required : true
11
- default : ' standalone'
12
10
parser-backend :
13
- description : ' Parser backend to use'
11
+ description : ' Parser backend to use: plain or hiredis '
14
12
required : true
15
- default : ' plain'
16
13
resp-protocol :
17
- description : ' RESP protocol version to use'
14
+ description : ' RESP protocol version to use: 2 or 3 '
18
15
required : true
19
- default : ' 2'
20
16
redis-version :
21
17
description : ' Redis version to test against'
22
18
required : true
@@ -49,10 +45,10 @@ runs:
49
45
invoke devenv
50
46
sleep 10 # time to settle
51
47
52
- if [ "${{input .event-loop}}" == "uvloop" ]; then
53
- invoke ${{input .test-type}}-tests --uvloop --protocol=${{inputs.resp-protocol}}
48
+ if [ "${{inputs .event-loop}}" == "uvloop" ]; then
49
+ invoke ${{inputs .test-type}}-tests --uvloop --protocol=${{inputs.resp-protocol}}
54
50
else
55
- invoke ${{input .test-type}}-tests --protocol=${{inputs.resp-protocol}}
51
+ invoke ${{inputs .test-type}}-tests --protocol=${{inputs.resp-protocol}}
56
52
fi
57
53
58
54
ls -1
61
57
- name : Upload test results and profiling data
62
58
uses : actions/upload-artifact@v4
63
59
with :
64
- name : pytest-results-${{input .test-type}}-${{input .parser-backend}}-${{input .python-version}}-${{input .event-loop}}-${{input .resp-protocol}}
60
+ name : pytest-results-${{inputs .test-type}}-${{inputs .parser-backend}}-${{inputs .python-version}}-${{inputs .event-loop}}-${{inputs .resp-protocol}}
65
61
path : |
66
- ${{input .test-type}}*-results.xml
62
+ ${{inputs .test-type}}*-results.xml
67
63
prof/**
68
64
profile_output*
69
65
if-no-files-found : error
0 commit comments