3 on: [push, pull_request]
10 python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
12 name: Python ${{ matrix.python-version }}
13 runs-on: ubuntu-latest
16 - uses: actions/checkout@v2
17 - uses: actions/setup-python@v2
19 python-version: ${{ matrix.python-version }}
21 uses: actions/cache@v2
23 # This path is specific to Linux/Unix
25 key: ${{ runner.os }}-pip
26 - name: Install dependencies
29 python -m pip install --upgrade "pip<21.0" "setuptools<45" wheel
31 python -m pip --version
32 python -m pip install --upgrade virtualenv tox tox-gh-actions
33 - name: Run tox targets for ${{ matrix.python-version }}