3 on: [push, pull_request]
10 python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy-2.7", "pypy-3.7"]
12 name: Python ${{ matrix.python-version }}
13 runs-on: ubuntu-latest
18 - uses: actions/checkout@v2
19 - uses: actions/setup-python@v4
21 python-version: ${{ matrix.python-version }}
23 uses: actions/cache@v3
25 # This path is specific to Linux/Unix
27 key: ${{ runner.os }}-pip
30 - name: Install dependencies
33 python -m pip install --upgrade pip setuptools wheel
35 pip install --upgrade virtualenv tox tox-gh-actions
37 - name: Run tox targets for ${{ matrix.python-version }}