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
19 - uses: actions/checkout@v2
20 - uses: actions/setup-python@v2
22 python-version: ${{ matrix.python-version }}
24 uses: actions/cache@v2
26 # This path is specific to Linux/Unix
28 key: ${{ runner.os }}-pip
31 - name: Install dependencies
34 python -m pip install --upgrade "pip<21.0" "setuptools<45" wheel
36 pip install --upgrade virtualenv tox tox-gh-actions
38 - name: Run tox targets for ${{ matrix.python-version }}