22
22
steps :
23
23
- uses : actions/checkout@v2
24
24
- name : install python
25
- uses : actions/setup-python@v2
25
+ uses : actions/setup-python@v3
26
26
with :
27
27
python-version : 3.9
28
28
- name : run code linters
@@ -32,20 +32,27 @@ jobs:
32
32
33
33
run-tests :
34
34
runs-on : ubuntu-latest
35
+ continue-on-error : ${{ matrix.experimental }}
35
36
timeout-minutes : 30
36
37
strategy :
37
38
max-parallel : 15
38
39
matrix :
39
40
python-version : ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
40
41
test-type : ['standalone', 'cluster']
41
42
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
42
49
env :
43
50
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
44
51
name : Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests
45
52
steps :
46
53
- uses : actions/checkout@v2
47
54
- name : install python
48
- uses : actions/setup-python@v2
55
+ uses : actions/setup-python@v3
49
56
with :
50
57
python-version : ${{ matrix.python-version }}
51
58
- name : run tests
@@ -68,23 +75,28 @@ jobs:
68
75
steps :
69
76
- uses : actions/checkout@v2
70
77
- name : install python
71
- uses : actions/setup-python@v2
78
+ uses : actions/setup-python@v3
72
79
with :
73
80
python-version : 3.9
74
81
- name : Run installed unit tests
75
82
run : |
76
83
bash .github/workflows/install_and_test.sh ${{ matrix.extension }}
77
84
78
85
install_package_from_commit :
86
+ continue-on-error : ${{ matrix.experimental }}
79
87
name : Install package from commit hash
80
88
runs-on : ubuntu-latest
81
89
strategy :
82
90
matrix :
83
91
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
84
96
steps :
85
97
- uses : actions/checkout@v2
86
98
- name : install python ${{ matrix.python-version }}
87
- uses : actions/setup-python@v2
99
+ uses : actions/setup-python@v3
88
100
with :
89
101
python-version : ${{ matrix.python-version }}
90
102
- name : install from pip
0 commit comments