name: Test Workflow

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

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [2]
        os: [ubuntu-latest]

    services:
      SQLServer:
        image: mcr.microsoft.com/mssql/server:2017-latest
        env:
          ACCEPT_EULA: Y
          SA_PASSWORD: sqlServerPassw0rd
        ports:
          - 1433:1433

    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 & install
      run: |
        python setup.py build install
        # stop the build if there are Python syntax errors or undefined names
    - name: Test with pytest
      run: |
        pytest

name: Test Workflow

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

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [2, 3.6, 3.7, 3.8]
        os: [ubuntu-latest]

    services:
      SQLServer:
        image: mcr.microsoft.com/mssql/server:2017-latest
        env:
          ACCEPT_EULA: Y
          SA_PASSWORD: sqlServerPassw0rd
        ports:
          - 1433:1433

    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 & install
      run: |
        python setup.py build install
        # stop the build if there are Python syntax errors or undefined names
    - name: Test with pytest
      run: |
        pytest

Add Python 3.6, 3.7, 3.8 to testing
Add Python 3.6, 3.7, 3.8 to testing
