on: [pull_request, push]
jobs:
  test:
    strategy:
      matrix:
        platform: [macos-latest, ubuntu-latest, windows-latest]
    runs-on: ${{ matrix.platform }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v1
        with:
          python-version: "3.6"
      - uses: actions/setup-python@v1
        with:
          python-version: "3.7"
      - uses: actions/setup-python@v1
        with:
          python-version: "3.8"
      - run: python -m pip install --upgrade pip
      - run: python -m pip install --upgrade tox
      - run: tox

on: [pull_request, push]
jobs:
  test:
    strategy:
      matrix:
        platform: [macos-latest, ubuntu-latest, windows-latest]
    runs-on: ${{ matrix.platform }}
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-python@v1
        with:
          python-version: "3.6"
      - uses: actions/setup-python@v1
        with:
          python-version: "3.7"
      - uses: actions/setup-python@v1
        with:
          python-version: "3.8"
      - run: python -m pip install --upgrade tox
      - run: tox

Remove upgrade of pip from CI workflow
Remove upgrade of pip from CI workflow

The GitHub Actions environment clearly has a working pip pre-installed,
and it's unlikely that this project relies on any extremely new
features.
