name: Testing

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

jobs:
  build:

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

    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: |
        python -m pip install --upgrade pip
        pip install flake8 pytest
        sed 's/tensorflow-gpu/tensorflow/' requirements.txt > requirements.txt.modified
        pip install -r requirements.txt.modified
        pip uninstall tensorflow-gpu==1.13.1
    - name: Test
      run: |
        bash -c 'for f in *_test.py; do python3 $f || exit 1; done'

name: Testing

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

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.6, 3.7 , 3.8]

    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: |
        python -m pip install --upgrade pip
        sed 's/tensorflow-gpu/tensorflow/' requirements.txt > requirements.txt.modified
        pip install -r requirements.txt.modified
    - name: Test
      run: |
        bash -c 'for f in *_test.py; do python3 $f || exit 1; done'

Remove unnecessary commands from CI and add more py versions for visibility
Remove unnecessary commands from CI and add more py versions for visibility