on:
  push:
    paths:
      - '*.py'
      - .github/workflows/main.yaml
    branches:
      - '*'
    tags:
      - '!*'

jobs:
  test:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        python: ["2.7", "3.6", "3.7"]

    name: Test Python ${{ matrix.python }}

    steps:
      - uses: actions/checkout@v2

      - name: Set up Python ${{ matrix.python }}
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python }}

      - name: Install dependencies
        run:  python -m pip install -e '.[tests]'

      - name: Run tests
        run: py.test tests
Add github workflow for tests
Add github workflow for tests
