name: Python

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  tox:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os:
          - macos-latest
          - ubuntu-latest
          - windows-latest
        python-version:
          - '2.7'
          - '3.6'
    steps:
      - uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: ${{ matrix.python-version }}

      - name: Install Tox
        run: pip install tox tox-gh-actions

      - name: Test
        run: tox

Add GitHub Actions workflow for unit testing
Add GitHub Actions workflow for unit testing
