From ab95943a94576828270b86d92050322542c48ffa Mon Sep 17 00:00:00 2001 From: patman15 <14628713+patman15@users.noreply.github.com> Date: Sun, 9 Jun 2024 18:00:49 +0200 Subject: [PATCH] fixed general test configuration --- .github/workflows/tests.yaml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5d50f17..836125a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 4117dd2..536528a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [