3 on: [push, pull_request]
11 python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 'pypy-2.7']
13 name: Python ${{ matrix.python-version }}
14 runs-on: ubuntu-latest
17 - uses: actions/checkout@v2
18 - uses: actions/setup-python@v2
20 python-version: ${{ matrix.python-version }}
22 uses: actions/cache@v2
24 # This path is specific to Linux/Unix
26 key: ${{ runner.os }}-pip
27 - name: Install dependencies
30 python -m pip install --upgrade "pip<21.0" "setuptools<45" wheel
32 pip install --upgrade virtualenv tox tox-gh-actions
33 - name: Run tox targets for ${{ matrix.python-version }}