Skip to content

Commit

Permalink
adding caching, and removing 3.11 alpha (#2160)
Browse files Browse the repository at this point in the history
Given that the CI runs of 3.11 cannot be exluded from the PR request list, it is effectively useless.

Once this issue https://github.com/actions/toolkit/issues/399 is resolved, we can re-enable.
  • Loading branch information
chayim authored May 2, 2022
1 parent e1988c6 commit 25cb4cb
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,21 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: 3.9
cache: 'pip'
- name: run code linters
run: |
pip install -r dev_requirements.txt
invoke linters
run-tests:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
timeout-minutes: 30
strategy:
max-parallel: 15
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
test-type: ['standalone', 'cluster']
connection-type: ['hiredis', 'plain']
experimental: [false]
include:
- python-version: 3.11.0-alpha.6
experimental: true
test-type: standalone
connection-type: plain
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
name: Python ${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}} tests
Expand All @@ -55,6 +49,7 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: run tests
run: |
pip install -U setuptools wheel
Expand Down Expand Up @@ -83,22 +78,18 @@ jobs:
bash .github/workflows/install_and_test.sh ${{ matrix.extension }}
install_package_from_commit:
continue-on-error: ${{ matrix.experimental }}
name: Install package from commit hash
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.7']
experimental: [false]
include:
- python-version: 3.11.0-alpha.5
- experimental: true
steps:
- uses: actions/checkout@v2
- name: install python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: install from pip
run: |
pip install --quiet git+${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git@${GITHUB_SHA}

0 comments on commit 25cb4cb

Please sign in to comment.