Adding coveragerc

GEN-7_tests
Kkevsterrr 4 years ago
parent 03893f5af6
commit e4c7cf567b

@ -0,0 +1,15 @@
[run]
branch = True
source = ./
[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
def get_args
ignore_errors = True
omit =
tests/*
examples/*

@ -37,3 +37,6 @@ install:
script:
- sudo python3 -m pytest --cov=./ -sv tests/ --tb=short
after_script:
- bash <(curl -s https://codecov.io/bash) -t 83a45966-78ce-44c2-80b3-964ecab4a53d || echo "Codecov did not collect coverage reports"

Loading…
Cancel
Save