name: Test
on: [pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8, 3.9]
    steps:
    - uses: actions/checkout@v2

    - name: Setup python (${{ matrix.python-version }})
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python-version }}

    - name: Setup Python cache
      uses: actions/cache@v2
      with:
        path: venv
        key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/requirements-dev.txt') }}

    - name: Run python tests
      env:
        PYTEST_ARGS: --cov=app --cov-report=term-missing
      run: |
        make requirements-dev
        make test

Add CI using GitHub Actions
Add CI using GitHub Actions

Following Travis' recent changes, our Travis builds now regularly take much more than 30 minutes to even start. So switch across to GitHub actions, which is much faster. It's been approved by IA, and we aren't giving it any secrets in any case.
