mirror of https://github.com/Kkevsterrr/geneva
Adding coveragerc
This commit is contained in:
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:
|
script:
|
||||||
- sudo python3 -m pytest --cov=./ -sv tests/ --tb=short
|
- 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…
Reference in New Issue