name: tests

on: [push]

jobs:
  test:
    name: ${{ matrix.os }} + py${{ matrix.python }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-20.04, ubuntu-18.04, ubuntu-16.04]
        python: [3.5, 3.6, 3.7, 3.8]

    steps:
    - uses: actions/checkout@v2
    - name: Fetch python ${{ matrix.python }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        sudo apt-get update
        sudo apt-get install -y libpq-dev
        pip install -r requirements.txt
    - name: Run tests
      run: |
        scripts/cibuild

name: tests

on: [push]

jobs:
  test:
    name: ${{ matrix.os }} + py${{ matrix.python }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-20.04, ubuntu-18.04]
        python: [3.5, 3.6, 3.7, 3.8]

    steps:
    - uses: actions/checkout@v2
    - name: Fetch python ${{ matrix.python }}
      uses: actions/setup-python@v2
      with:
        python-version: ${{ matrix.python }}
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        sudo apt-get update
        sudo apt-get install -y libpq-dev
        pip install -r requirements.txt
    - name: Run tests
      run: |
        scripts/cibuild

Remove Ubuntu 16.04 since it's EOL
Remove Ubuntu 16.04 since it's EOL
