# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Setup

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 2.7
      uses: actions/setup-python@v1
      with:
        python-version: 2.7
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install setuptools wheel twine
    - name: Build and check
      run: |
        python setup.py build
        python setup.py test
    - name: Check with twine
      run: |
        python setup.py sdist bdist_wheel
        twine check dist/*

# This workflow will install Python dependencies, run build tests and checks with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Setup

on: [push, pull_request]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 2.7
      uses: actions/setup-python@v1
      with:
        python-version: 2.7
    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install setuptools wheel twine
    - name: Build and check
      run: |
        python setup.py build
        python setup.py test
    - name: Check with twine
      run: |
        python setup.py sdist bdist_wheel
        twine check dist/*

Add Action Setup to test build and checks
Add Action Setup to test build and checks
