name: build ⚙️

on: [ push, pull_request ]

jobs:
  main:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8]
        toxenv: [py35-sqlite, py36-sqlite, py37-sqlite, py38-sqlite]
    env:
        TOXENV: ${{ matrix.toxenv }}
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
      name: Setup Python ${{ matrix.python-version }}
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install requirements 📦
      run: |
        apt install -y libgeos-dev libpq-dev libxml2-dev libxslt1-dev libz-dev
        pip3 install -r requirements.txt
        pip3 install -r requirements-dev.txt
        pip3 install codecov tox
        echo "TOXENV => $TOXENV"
    - name: run unit tests ⚙️
      run: tox -- --exitfirst -m unit
    - name: run integration tests ⚙️
      run: tox -- --exitfirst -m functional -k 'not harvesting'
    - name: run unit coveralls ⚙️
      run: codecov --disable search --flags unittests
    - name: run integration coveralls ⚙️
      run: codecov --disable search --flags integrationtests
    - name: build docs 🏗️
      run: cd docs && make html
    - name: run flake8 ⚙️
      run: flake8 pycsw

name: build ⚙️

on: [ push, pull_request ]

jobs:
  main:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7, 3.8]
        toxenv: [py36-sqlite, py37-sqlite, py38-sqlite]
    env:
        TOXENV: ${{ matrix.toxenv }}
    steps:
    - uses: actions/checkout@v2
    - uses: actions/setup-python@v2
      name: Setup Python ${{ matrix.python-version }}
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install requirements 📦
      run: |
        apt install -y libgeos-dev libpq-dev libxml2-dev libxslt1-dev libz-dev
        pip3 install -r requirements.txt
        pip3 install -r requirements-dev.txt
        pip3 install codecov tox
        echo "TOXENV => $TOXENV"
    - name: run unit tests ⚙️
      run: tox -- --exitfirst -m unit
    - name: run integration tests ⚙️
      run: tox -- --exitfirst -m functional -k 'not harvesting'
    - name: run unit coveralls ⚙️
      run: codecov --disable search --flags unittests
    - name: run integration coveralls ⚙️
      run: codecov --disable search --flags integrationtests
    - name: build docs 🏗️
      run: cd docs && make html
    - name: run flake8 ⚙️
      run: flake8 pycsw

Drop Python 3.5 from testing
Drop Python 3.5 from testing
