name: Python package

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [2]

    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 dependencies
      run: |
        sudo apt-get install freetds-dev
        python -m pip install --upgrade pip
        pip install -r requirements-dev.txt
    - name: build
      run: |
        python setup.py build
        # stop the build if there are Python syntax errors or undefined names

Add github action for build
Add github action for build

Just for build on Python2 for now.
