Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: pytest
run: |
env
pytest -v --full-trace --timeout=1200
pytest -v --cov --full-trace --timeout=1200

analyze:
name: Analyze Python
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ build/
/pymodbus.egg-info/
venv
downloaded_files/
htmlcov/
11 changes: 8 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ asyncio_mode = "auto"
timeout = 40

[tool.coverage.run]
include = [
source = [
"examples/",
"pymodbus/",
"test/",
Expand All @@ -235,10 +235,15 @@ omit = ["examples/contrib/"]
[tool.coverage.report]
exclude_lines = [
"_check_system_health",
"if __name__ == .__main__.:",
"__main__",
]
skip_covered = true
fail_under = 86.0

[tool.coverage.html]
directory = "htmlcov"
skip_covered = true

ignore_errors = true

[tool.codespell]
skip = "./build,./doc/source/_static,venv,.venv,.git,htmlcov,CHANGELOG.rst,.mypy_cache"
Expand Down