Skip to content

Commit

Permalink
show coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 6, 2024
1 parent ddf0356 commit 2b3af43
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions integrations/ollama/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,20 +157,17 @@ ban-relative-imports = "parents"


[tool.coverage.run]
source_pkgs = ["src", "tests"]
source = ["haystack_integrations"]
branch = true
parallel = true


[tool.coverage.paths]
ollama_haystack = ["src/haystack_integrations", "*/ollama-haystack/src"]
tests = ["tests", "*/ollama-haystack/tests"]
parallel = false

[tool.coverage.report]
omit = ["*/tests/*", "*/__init__.py"]
show_missing=true
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]

[tool.pytest.ini_options]
Expand Down

0 comments on commit 2b3af43

Please sign in to comment.