name: tests

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v1
      with:
        python-version: 3.8
    - name: Update pip
      run: |
        python -m pip install --upgrade pip
    - name: Install kindred
      run: |
        pip install -e .
        sh ./tests/installSpacyLanguages.sh
    - name: Test with pytest
      run: |
        pip install pytest pytest-cov pytest_socket docstringtest
        python -m pytest --cov=./kindred --cov-report xml
    - name: Coveralls
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        path-to-lcov: coverage.xml
    - name: Build docs
      run: |
        cd ./docs
        make html
        make clean


name: tests

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v1
      with:
        python-version: 3.8
    - name: Update pip
      run: |
        python -m pip install --upgrade pip
    - name: Install kindred
      run: |
        pip install -e .
        sh ./tests/installSpacyLanguages.sh
    - name: Test with pytest
      run: |
        pip install pytest pytest-cov pytest_socket docstringtest
        python -m pytest --cov=./kindred --cov-report lcov
    - name: Coveralls
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
        path-to-lcov: coverage.lcov
    - name: Build docs
      run: |
        cd ./docs
        make html
        make clean


Switch to lcov for coverage
Switch to lcov for coverage
