---
name: cr8-test

on:
  pull_request:
    branches:
      - master

jobs:
  test:
    name: Test python-${{ matrix.python-version }} on ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
        python-version: [3.6, 3.7]

    steps:
      - uses: actions/checkout@master
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v1
        with:
          version: ${{ matrix.python-version }}
      - name: Set up Java
        uses: actions/setup-java@v1
        with:
          version: 11
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          pip install pycodestyle asyncpg
          pip install .
      - name: Test
        run: python -m unittest -v
      - name: Pycodestyle
        run: pycodestyle cr8

Add gh action test workflow
Add gh action test workflow
