Skip to content

Commit 805b184

Browse files
authored
Adding (experimental) python 3.11 CI (#1991)
1 parent cb91eed commit 805b184

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

.github/workflows/integration.yaml

+16-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v2
2424
- name: install python
25-
uses: actions/setup-python@v2
25+
uses: actions/setup-python@v3
2626
with:
2727
python-version: 3.9
2828
- name: run code linters
@@ -32,20 +32,27 @@ jobs:
3232
3333
run-tests:
3434
runs-on: ubuntu-latest
35+
continue-on-error: ${{ matrix.experimental }}
3536
timeout-minutes: 30
3637
strategy:
3738
max-parallel: 15
3839
matrix:
3940
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
4041
test-type: ['standalone', 'cluster']
4142
connection-type: ['hiredis', 'plain']
43+
experimental: [false]
44+
include:
45+
- python-version: 3.11.0-alpha.6
46+
experimental: true
47+
test-type: standalone
48+
connection-type: plain
4249
env:
4350
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
4451
name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests
4552
steps:
4653
- uses: actions/checkout@v2
4754
- name: install python
48-
uses: actions/setup-python@v2
55+
uses: actions/setup-python@v3
4956
with:
5057
python-version: ${{ matrix.python-version }}
5158
- name: run tests
@@ -68,23 +75,28 @@ jobs:
6875
steps:
6976
- uses: actions/checkout@v2
7077
- name: install python
71-
uses: actions/setup-python@v2
78+
uses: actions/setup-python@v3
7279
with:
7380
python-version: 3.9
7481
- name: Run installed unit tests
7582
run: |
7683
bash .github/workflows/install_and_test.sh ${{ matrix.extension }}
7784
7885
install_package_from_commit:
86+
continue-on-error: ${{ matrix.experimental }}
7987
name: Install package from commit hash
8088
runs-on: ubuntu-latest
8189
strategy:
8290
matrix:
8391
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
92+
experimental: [false]
93+
include:
94+
- python-version: 3.11.0-alpha.5
95+
- experimental: true
8496
steps:
8597
- uses: actions/checkout@v2
8698
- name: install python ${{ matrix.python-version }}
87-
uses: actions/setup-python@v2
99+
uses: actions/setup-python@v3
88100
with:
89101
python-version: ${{ matrix.python-version }}
90102
- name: install from pip

.github/workflows/pypi-publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v2
1313
- name: install python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v3
1515
with:
1616
python-version: 3.9
1717
- name: Install dev tools

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"Programming Language :: Python :: 3.8",
5353
"Programming Language :: Python :: 3.9",
5454
"Programming Language :: Python :: 3.10",
55+
"Programming Language :: Python :: 3.11",
5556
"Programming Language :: Python :: Implementation :: CPython",
5657
"Programming Language :: Python :: Implementation :: PyPy",
5758
],

0 commit comments

Comments
 (0)