name: Python Package using Conda

on: [push]

jobs:
  build-linux:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 5

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Add conda to system path
      run: |
        # $CONDA is an environment variable pointing to the root of the miniconda directory
        echo $CONDA/bin >> $GITHUB_PATH
    - name: Setup Conda environment
      run: |
        conda env update --file environment.yml --name base
    - name: Install package
      run: |
        pip install .[webapp,gsheet]
    - name: Setup configuration
      run: |
        cp example.luigi.cfg luigi.cfg
    - name: Build shm cleanup script
      run: |
        make -C scripts
    - name: Test with pytest
      run: |
        conda install pytest
        pytest

name: Python Package using Conda

on: [push]

jobs:
  build-linux:
    runs-on: ubuntu-latest
    strategy:
      max-parallel: 5

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Add conda to system path
      run: |
        # $CONDA is an environment variable pointing to the root of the miniconda directory
        echo $CONDA/bin >> $GITHUB_PATH
    - name: Setup Conda environment
      run: |
        conda env update --file environment.yml --name base
    - name: Install package
      run: |
        pip install .[gsheet,webviewer]
    - name: Setup configuration
      run: |
        cp example.luigi.cfg luigi.cfg
    - name: Build shm cleanup script
      run: |
        make -C scripts
    - name: Test with pytest
      run: |
        conda install pytest
        pytest

Fix name of webviewer optional module
Fix name of webviewer optional module
