@@ -3,20 +3,16 @@ description: 'Runs redis-py tests against different Redis versions and configura
33inputs :
44 python-version :
55 description : ' Python version to use for running tests'
6- required : true
76 default : ' 3.12'
87 test-type :
9- description : ' Type of tests to run'
8+ description : ' Type of tests to run: standalone or cluster '
109 required : true
11- default : ' standalone'
1210 parser-backend :
13- description : ' Parser backend to use'
11+ description : ' Parser backend to use: plain or hiredis '
1412 required : true
15- default : ' plain'
1613 resp-protocol :
17- description : ' RESP protocol version to use'
14+ description : ' RESP protocol version to use: 2 or 3 '
1815 required : true
19- default : ' 2'
2016 redis-version :
2117 description : ' Redis version to test against'
2218 required : true
@@ -49,10 +45,10 @@ runs:
4945 invoke devenv
5046 sleep 10 # time to settle
5147
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}}
5450 else
55- invoke ${{input .test-type}}-tests --protocol=${{inputs.resp-protocol}}
51+ invoke ${{inputs .test-type}}-tests --protocol=${{inputs.resp-protocol}}
5652 fi
5753
5854 ls -1
6157 - name : Upload test results and profiling data
6258 uses : actions/upload-artifact@v4
6359 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}}
6561 path : |
66- ${{input .test-type}}*-results.xml
62+ ${{inputs .test-type}}*-results.xml
6763 prof/**
6864 profile_output*
6965 if-no-files-found : error
0 commit comments