# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python CI 

on: [push, pull_request]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8]
        os: [ubuntu-latest, windows-latest]

    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 --editable ".[all]" 
        pip install pytest>=3.6 pytest-cov coverage pathlib 
    - name: Test with pytest
      run: |
        pytest

# This workflow will install Python dependencies, run tests and lint with a
# variety of Python versions
#
# For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python CI 

on: [push, pull_request]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8]
        os: [ubuntu-latest, windows-latest]

    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 setuptools wheel
        pip install ".[all]"
        pip install pytest>=3.6 pytest-cov coverage pathlib
    - name: Test with pytest
      run: |
        pytest

Update github ci pip commands to use wheel
Update github ci pip commands to use wheel

- Add setuptools and wheel to `pip install --update`
- Remove '--editable' from github ci pip install cmd

This causes lasio to be packaged as a wheel package.  Then the wheel
file is installed and tested.  Before we were running the tests on the
editable clone of the lasio repo.
