name: CI
on: [push]

jobs:
  build:
    name: Tests
    # This job runs on Linux
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - run: pip install .[plot] pytest flake8
      - run: cd tests && MATPLOTLIBRC="../ci" pytest ./
name: CI
on: [push]

jobs:
  build:
    name: Tests
    # This job runs on Linux
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 4
      matrix:
        python-version: [2.7, 3.5, 3.6, 3.7]
    steps:
      - uses: actions/checkout@v1
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - run: |
        pip install .[plot] pytest flake8
        cd tests && MATPLOTLIBRC="../ci" pytest ./
Test with multiple python versions
Test with multiple python versions
