mirror of
https://github.com/Kkevsterrr/geneva
synced 2025-01-02 23:15:11 +01:00
Adding coveragerc
This commit is contained in:
parent
03893f5af6
commit
e4c7cf567b
15
.coveragerc
Normal file
15
.coveragerc
Normal file
@ -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…
Reference in New Issue
Block a user