name: Python package

on: [push, pull_request]

jobs:

  lint:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Install dependencies
      run: |
        pip install --upgrade pip setuptools coveralls
        pip install -r requirements.txt

    - name: Lint with flake8
      run: make lint

  tests:

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

    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: |
        pip install --upgrade pip setuptools coveralls
        pip install -r requirements.txt

    - name: Test with pytest
      run: coverage run --source collections_extended setup.py test
#    after_success:
#    - coveralls

name: Python package

on: [push, pull_request]

jobs:

  cocs:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Install dependencies
      run: |
        pip install --upgrade pip setuptools coveralls
        pip install -r requirements.txt

    - name: Build Docs
      run: make lint

  lint:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Install dependencies
      run: |
        pip install --upgrade pip setuptools coveralls
        pip install -r requirements.txt

    - name: Lint with flake8
      run: make lint

  tests:

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

    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: |
        pip install --upgrade pip setuptools coveralls
        pip install -r requirements.txt

    - name: Test with pytest
      run: coverage run --source collections_extended setup.py test
#    after_success:
#    - coveralls

Add job for building docs
Add job for building docs
