@@ -57,24 +57,14 @@ jobs:
5757 pip install -r dev_requirements.txt
5858 invoke linters
5959
60- current_version :
61- runs-on : ubuntu-latest
62- outputs :
63- CURRENT_REDIS_VERSION : ${{ env.CURRENT_REDIS_VERSION }}
64- steps :
65- - name : Compute outputs
66- run : |
67- echo "CURRENT_REDIS_VERSION=${{ env.CURRENT_REDIS_VERSION }}" >> $GITHUB_OUTPUT
68-
6960 tests :
7061 runs-on : ubuntu-latest
7162 timeout-minutes : 60
72- needs : current_version
7363 strategy :
7464 max-parallel : 15
7565 fail-fast : false
7666 matrix :
77- redis-version : [ ${{ needs.current_version.outputs .CURRENT_REDIS_VERSION }} ] # , '8.0-M01', '7.2.6', '6.2.16']
67+ redis-version : [ ${{ env .CURRENT_REDIS_VERSION }} ] # , '8.0-M01', '7.2.6', '6.2.16']
7868 python-version : ['3.8', '3.12']
7969 parser-backend : ['plain']
8070 event-loop : ['asyncio']
@@ -92,13 +82,13 @@ jobs:
9282
9383 python-compatibility-tests :
9484 runs-on : ubuntu-latest
95- needs : [ current_version, tests ]
85+ needs : [ tests ]
9686 timeout-minutes : 60
9787 strategy :
9888 max-parallel : 15
9989 fail-fast : false
10090 matrix :
101- redis-version : [ ${{ needs.current_version.outputs .CURRENT_REDIS_VERSION }} ]
91+ redis-version : [ ${{ env .CURRENT_REDIS_VERSION }} ]
10292 python-version : ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
10393 parser-backend : [ 'plain' ]
10494 event-loop : [ 'asyncio' ]
@@ -116,13 +106,13 @@ jobs:
116106
117107 hiredis-tests :
118108 runs-on : ubuntu-latest
119- needs : [current_version, tests]
109+ needs : [tests]
120110 timeout-minutes : 60
121111 strategy :
122112 max-parallel : 15
123113 fail-fast : false
124114 matrix :
125- redis-version : [ ${{ needs.current_version.outputs .CURRENT_REDIS_VERSION }} ]
115+ redis-version : [ ${{ env .CURRENT_REDIS_VERSION }} ]
126116 python-version : [ '3.8', '3.12']
127117 parser-backend : [ 'hiredis' ]
128118 event-loop : [ 'asyncio' ]
@@ -149,13 +139,13 @@ jobs:
149139
150140 uvloop-tests :
151141 runs-on : ubuntu-latest
152- needs : [current_version, tests]
142+ needs : [tests]
153143 timeout-minutes : 60
154144 strategy :
155145 max-parallel : 15
156146 fail-fast : false
157147 matrix :
158- redis-version : [ ${{ needs.current_version.outputs .CURRENT_REDIS_VERSION }} ]
148+ redis-version : [ ${{ env .CURRENT_REDIS_VERSION }} ]
159149 python-version : [ '3.8', '3.12' ]
160150 parser-backend : [ 'plain' ]
161151 event-loop : [ 'uvloop' ]
0 commit comments