Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .coveragerc

This file was deleted.

20 changes: 19 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,22 @@ jobs:
run: python setup.py install

- name: Test
run: pytest --cov=pyfritzhome
run: pytest --cov=pyfritzhome --cov-report=lcov

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
parallel: true
path-to-lcov: coverage.lcov

finish:
needs: tests
runs-on: ubuntu-22.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
9 changes: 9 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ norecursedirs = .git
addopts =
--strict-markers

[coverage:run]
omit =
pyfritzhome/cli.py
*/python?.?/*
*/site-packages/nose/*
*/tests/*
*/pyasn1/*
*/ndg/*
*/doc/*

[pep257]
ignore = D100,D101,D102,D103,D104,D105,D203,D204