Skip to content

Commit

Permalink
consolidate coverage settings; hide fully covered files in report
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Whitehead <[email protected]>
  • Loading branch information
andrewwhitehead committed Nov 21, 2019
1 parent 4cfc48a commit d99787e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 17 deletions.
16 changes: 0 additions & 16 deletions .coveragerc

This file was deleted.

22 changes: 21 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
testpaths = aries_cloudagent
addopts =
--quiet --junitxml=./test-reports/junit.xml
--cov-config .coveragerc --cov=aries_cloudagent --cov-report term-missing --cov-report xml
--cov-config .coveragerc --cov=aries_cloudagent --cov-report term --cov-report xml
--flake8
markers =
indy: Tests specifically relating to Hyperledger Indy support
Expand All @@ -15,3 +15,23 @@ exclude =
*/tests/**
extend_ignore = D202, W503
per_file_ignores = */__init__.py:D104

[coverage:run]
omit =
*/tests/*
demo/*
docker/*
docs/*
scripts/*
data_file = test-reports/.coverage

[coverage:report]
exclude_lines =
pragma: no cover
@abstract
precision = 2
skip_covered = True
show_missing = True

[coverage:xml]
output = test-reports/coverage.xml

0 comments on commit d99787e

Please sign in to comment.