name: Test code

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

jobs:
  build:

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

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        apt-get update && apt-get install -y jq
        python -m pip install --upgrade pip
        pip install -r requirements-dev.txt
    - name: Tox
      run: |
        tox
    - name: Results
      run: |
        cat /tmp/report.json | jq .

name: Test code

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

jobs:
  build:

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

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}
    - name: Install dependencies
      run: |
        apt-get update && apt-get install -y jq python3-dev gcc
        python -m pip install --upgrade pip
        pip install -r requirements-dev.txt
    - name: Tox
      run: |
        tox
    - name: Results
      run: |
        cat /tmp/report.json | jq .

Install python3-dev and gcc as system deps
Install python3-dev and gcc as system deps
