@@ -25,27 +25,21 @@ jobs:
25
25
uses : actions/setup-python@v3
26
26
with :
27
27
python-version : 3.9
28
+ cache : ' pip'
28
29
- name : run code linters
29
30
run : |
30
31
pip install -r dev_requirements.txt
31
32
invoke linters
32
33
33
34
run-tests :
34
35
runs-on : ubuntu-latest
35
- continue-on-error : ${{ matrix.experimental }}
36
36
timeout-minutes : 30
37
37
strategy :
38
38
max-parallel : 15
39
39
matrix :
40
40
python-version : ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
41
41
test-type : ['standalone', 'cluster']
42
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
49
43
env :
50
44
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
51
45
name : Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests
55
49
uses : actions/setup-python@v3
56
50
with :
57
51
python-version : ${{ matrix.python-version }}
52
+ cache : ' pip'
58
53
- name : run tests
59
54
run : |
60
55
pip install -U setuptools wheel
@@ -83,22 +78,18 @@ jobs:
83
78
bash .github/workflows/install_and_test.sh ${{ matrix.extension }}
84
79
85
80
install_package_from_commit :
86
- continue-on-error : ${{ matrix.experimental }}
87
81
name : Install package from commit hash
88
82
runs-on : ubuntu-latest
89
83
strategy :
90
84
matrix :
91
85
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
96
86
steps :
97
87
- uses : actions/checkout@v2
98
88
- name : install python ${{ matrix.python-version }}
99
89
uses : actions/setup-python@v3
100
90
with :
101
91
python-version : ${{ matrix.python-version }}
92
+ cache : ' pip'
102
93
- name : install from pip
103
94
run : |
104
95
pip install --quiet git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@${GITHUB_SHA}
0 commit comments