Skip to content

Commit 720ce4e

Browse files
committed
Move python compatibility tests to a separate task
1 parent 7f57a65 commit 720ce4e

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

.github/workflows/integration.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
fail-fast: false
6565
matrix:
6666
redis-version: ['8.0-M01', '7.4.1', '7.2.6', '6.2.16']
67-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
67+
python-version: ['3.8', '3.12']
6868
parser-backend: ['plain']
6969
event-loop: ['asyncio']
7070
env:
@@ -79,6 +79,30 @@ jobs:
7979
parser-backend: ${{ matrix.parser-backend }}
8080
redis-version: ${{ matrix.redis-version }}
8181

82+
python-compatibility-tests:
83+
runs-on: ubuntu-latest
84+
needs: [ tests ]
85+
timeout-minutes: 60
86+
strategy:
87+
max-parallel: 15
88+
fail-fast: false
89+
matrix:
90+
redis-version: [ '8.0-M01' ]
91+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
92+
parser-backend: [ 'plain' ]
93+
event-loop: [ 'asyncio' ]
94+
env:
95+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
96+
name: Redis ${{ matrix.redis-version }}; Python ${{ matrix.python-version }}; RESP Parser:${{matrix.parser-backend}}; EL:${{matrix.event-loop}}
97+
steps:
98+
- uses: actions/checkout@v4
99+
- name: Run tests
100+
uses: ./.github/actions/run-tests
101+
with:
102+
python-version: ${{ matrix.python-version }}
103+
parser-backend: ${{ matrix.parser-backend }}
104+
redis-version: ${{ matrix.redis-version }}
105+
82106
hiredis-tests:
83107
runs-on: ubuntu-latest
84108
needs: [tests]
@@ -87,7 +111,7 @@ jobs:
87111
max-parallel: 15
88112
fail-fast: false
89113
matrix:
90-
redis-version: [ '8.0.0-M01' ]
114+
redis-version: [ '8.0-M01' ]
91115
python-version: [ '3.8', '3.12']
92116
parser-backend: [ 'hiredis' ]
93117
event-loop: [ 'asyncio' ]
@@ -120,7 +144,7 @@ jobs:
120144
max-parallel: 15
121145
fail-fast: false
122146
matrix:
123-
redis-version: [ '8.0.0-M01' ]
147+
redis-version: [ '8.0-M01' ]
124148
python-version: [ '3.8', '3.12' ]
125149
parser-backend: [ 'plain' ]
126150
event-loop: [ 'uvloop' ]

0 commit comments

Comments
 (0)