@@ -25,27 +25,21 @@ jobs:
2525 uses : actions/setup-python@v3
2626 with :
2727 python-version : 3.9
28+ cache : ' pip'
2829 - name : run code linters
2930 run : |
3031 pip install -r dev_requirements.txt
3132 invoke linters
3233
3334 run-tests :
3435 runs-on : ubuntu-latest
35- continue-on-error : ${{ matrix.experimental }}
3636 timeout-minutes : 30
3737 strategy :
3838 max-parallel : 15
3939 matrix :
4040 python-version : ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
4141 test-type : ['standalone', 'cluster']
4242 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
4943 env :
5044 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
5145 name : Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests
5549 uses : actions/setup-python@v3
5650 with :
5751 python-version : ${{ matrix.python-version }}
52+ cache : ' pip'
5853 - name : run tests
5954 run : |
6055 pip install -U setuptools wheel
@@ -83,22 +78,18 @@ jobs:
8378 bash .github/workflows/install_and_test.sh ${{ matrix.extension }}
8479
8580 install_package_from_commit :
86- continue-on-error : ${{ matrix.experimental }}
8781 name : Install package from commit hash
8882 runs-on : ubuntu-latest
8983 strategy :
9084 matrix :
9185 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
9686 steps :
9787 - uses : actions/checkout@v2
9888 - name : install python ${{ matrix.python-version }}
9989 uses : actions/setup-python@v3
10090 with :
10191 python-version : ${{ matrix.python-version }}
92+ cache : ' pip'
10293 - name : install from pip
10394 run : |
10495 pip install --quiet git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@${GITHUB_SHA}
0 commit comments