name: Examples

on: [push]

jobs:
  build:

    if: "!contains(github.event.head_commit.message, 'ci min')"

    runs-on: ${{ matrix.operating-system }}
    strategy:
      max-parallel: 4
      matrix:
        python-version: [3.7]
        operating-system: [ubuntu-latest]

    steps:
    - uses: actions/checkout@v1
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}

    - uses: actions/cache@v1
      with:
        path: ~/.cache/pip
        key: ${{ runner.os }}-pip-${{ hashFiles('**/pip_requirements.txt') }}
        restore-keys: |
          ${{ runner.os }}-pip-

    - name: Install Dependencies
      run: |
        pip install -r requirements/pip_requirements.txt
        pip install -r requirements/test_requirements.txt
        pip uninstall openpnm --yes
        pip install -e .
        pip install porespy # for ipynb tests

    - name: Running tests
      run:
        pytest --nbval -p no:python
        --ignore="test"
        --ignore="openpnm/utils/petsc.py"
        --ignore="examples/paper_recreations/Blunt et al. (2013)"
        --ignore="examples/paper_recreations/Wu et al. (2010)"

name: Examples

on: [push]

jobs:
  build:

    if: "!contains(github.event.head_commit.message, 'ci min')"

    runs-on: ${{ matrix.operating-system }}
    strategy:
      max-parallel: 4
      matrix:
        python-version: [3.7]
        operating-system: [ubuntu-latest]

    steps:
    - uses: actions/checkout@v1
    - name: Set up Python ${{ matrix.python-version }}
      uses: actions/setup-python@v1
      with:
        python-version: ${{ matrix.python-version }}

    - uses: actions/cache@v1
      with:
        path: ~/.cache/pip
        key: ${{ runner.os }}-pip-${{ hashFiles('**/pip_requirements.txt') }}
        restore-keys: |
          ${{ runner.os }}-pip-

    - name: Install Dependencies
      run: |
        pip install -r requirements/pip_requirements.txt
        pip install -r requirements/test_requirements.txt
        pip uninstall openpnm --yes
        pip install -e .
        pip install porespy # for ipynb tests

    - name: Running tests
      run:
        pytest --nbval -p no:python
        --ignore="tests"
        --ignore="openpnm/utils/petsc.py"
        --ignore="examples/paper_recreations/Blunt et al. (2013)"
        --ignore="examples/paper_recreations/Wu et al. (2010)"

Fix typo in one of workflows, ci min
Fix typo in one of workflows, ci min
