Skip to content

Commit

Permalink
add coveralls (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn authored Nov 26, 2020
1 parent 3bc6d74 commit a2e089a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest wheel
pip install flake8 pytest wheel coverage pytest-cov coveralls
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [[ "${{ matrix.python-version }}" < "3.9" ]]; then pip install neuron; fi
pip install .
Expand All @@ -38,5 +38,8 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
py.test -v
py.test -v --cov=lfpykit/tests/
coveralls

0 comments on commit a2e089a

Please sign in to comment.