name: Python package
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
  schedule:
    - cron:  '27 5 * * *'
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python: [2.7, pypy2]
        twisted: [twtrunk, twlatest, twlowest]
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Fetch tags
        run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
      - name: Setup Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python }}
      - name: Install Tox and any other packages
        run: pip install tox
      - name: Run Tox
        run: tox -e py-${{ matrix.twisted }}
      - name: Codecov
        uses: codecov/codecov-action@v1.0.6
        with:
          name: gh-${{ matrix.python }}-${{ matrix.twisted }}

name: Python package
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master
  schedule:
    - cron:  '27 5 * * *'
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python: [2.7, pypy2, 3.7]
        twisted: [twtrunk, twlatest, twlowest]
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Fetch tags
        run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
      - name: Setup Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python }}
      - name: Install Tox and any other packages
        run: pip install tox
      - name: Run Tox
        run: tox -e py-${{ matrix.twisted }}
      - name: Codecov
        uses: codecov/codecov-action@v1.0.6
        with:
          name: gh-${{ matrix.python }}-${{ matrix.twisted }}

Add Python 3.7 to build targets
Add Python 3.7 to build targets
