Skip to content

Commit

Permalink
Add coverage configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Oct 7, 2021
1 parent 78cb6d8 commit 1ea544a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
54 changes: 54 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
[run]
branch=True
cover_pylib=False
concurrency=thread
data_file=.coverage
disable_warnings=
trace-changed
module-not-python
module-not-imported
no-data-collected
module-not-measured
# include-ignored
omit =
venv/*
janis_core/tests/*
setup.py
parallel = True
plugins=
include=
janis_core/*
timid = False


[report]

exclude_lines =
pragma: no cover
def __repr__
raise NotImplementedError
if __name__ == .__main__.:
def parse_args
def main
fail_under=0
ignore_errors = False
omit =
venv/*
janis_core/tests/*
setup.py
precision=2
show_missing=False
skip_covered=False
sort=Name

[html]

directory=htmlcov
extra_css=
title=


[xml]

output=coverage.xml
package_depth=99
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Unit Tests

on: [push]
on: [push, pull_request]

jobs:
build:
Expand Down

0 comments on commit 1ea544a

Please sign in to comment.