Skip to content

Commit

Permalink
fixed general test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
patman15 committed Jun 9, 2024
1 parent 054ff82 commit ab95943
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
run: pip install -r requirements_test.txt

- name: Run tests and collect coverage
run: pytest --cov --cov-report term-missing --cov-fail-under=100
run: pytest
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#include = ["bms_ble"]

[tool.pytest.ini_options]
minversion = "6.0"
minversion = "8.0"
addopts="--cov=custom_components.bms_ble --cov-report=term-missing --cov-fail-under=100"
pythonpath = [
".",
"custom_components.bms_ble",
]
testpaths = [
Expand Down

0 comments on commit ab95943

Please sign in to comment.