name: run-tox
on: [push]
jobs:
  unit-tests:
    runs-on: ubuntu-20.04
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8]

    steps:
      - uses: actions/checkout@v2
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install requirements
        run: |
          sed -i -e 's/^/#/' tests/gnupghome/gpg-agent.conf
          ./install_dependencies.linux.sh
          pip install tox python-coveralls
      - name: Run Tox
        run: tox -e py

name: run-tox
on: [push]
jobs:
  unit-tests:
    runs-on: ubuntu-16.04
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8, 3.9]

    steps:
      - uses: actions/checkout@v2
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install requirements
        run: |
          sed -i -e 's/^/#/' tests/gnupghome/gpg-agent.conf
          ./install_dependencies.linux.sh
          pip install tox python-coveralls
      - name: Run Tox
        run: tox -e py

Move back to Ubuntu Xenial and add a Python 3.9 test
Move back to Ubuntu Xenial and add a Python 3.9 test
