Skip to content

Commit 6eb4cfc

Browse files
committed
Adjustments
1 parent bb847ea commit 6eb4cfc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: 🏗 Install dependencies
3636
run: poetry install --no-interaction
3737
- name: 🚀 Run pytest
38-
run: poetry run pytest --cov tado tests --cov-fail-under=95
38+
run: poetry run pytest --cov=tadoasync tests --cov-fail-under=95
3939
- name: ⬆️ Upload coverage artifact
4040
uses: actions/[email protected]
4141
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ repos:
112112
name: 🧪 Running tests and test coverage with pytest
113113
language: system
114114
types: [python]
115-
entry: poetry run pytest --cov=. --cov-report=term-missing --cov-report=xml --cov-fail-under=95
115+
entry: poetry run pytest --cov=tadoasync --cov-report=term-missing --cov-report=xml --cov-fail-under=95
116116
pass_filenames: false
117117
- id: trailing-whitespace
118118
name: ✄ Trim Trailing Whitespace

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ deptry = "^0.19.1"
5252

5353
[tool.coverage.report]
5454
show_missing = true
55+
fail_under = 95
5556

5657
[tool.coverage.run]
5758
plugins = ["covdefaults"]

0 commit comments

Comments
 (0)