mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
Fix coverage. (#1404)
This commit is contained in:
parent
ae719a676d
commit
e656dd31b0
2 changed files with 3 additions and 3 deletions
2
.github/workflows/pytest.yaml
vendored
2
.github/workflows/pytest.yaml
vendored
|
|
@ -61,7 +61,7 @@ jobs:
|
|||
-qq \
|
||||
--timeout=9 \
|
||||
--durations=10 \
|
||||
--cov="homeassistant" \
|
||||
--cov=homeassistant.components.adaptive_lighting \
|
||||
--cov-report=xml \
|
||||
-o console_output_style=count \
|
||||
-p no:sugar \
|
||||
|
|
|
|||
|
|
@ -48,8 +48,8 @@ ENTRYPOINT ["python3", \
|
|||
"--timeout=9", \
|
||||
# Print the 10 slowest tests
|
||||
"--durations=10", \
|
||||
# Measure code coverage for the 'homeassistant' package
|
||||
"--cov='homeassistant'", \
|
||||
# Measure code coverage for the 'homeassistant.components.adaptive_lighting' component
|
||||
"--cov=homeassistant.components.adaptive_lighting", \
|
||||
# Generate an XML report of the code coverage
|
||||
"--cov-report=xml", \
|
||||
# Generate an HTML report of the code coverage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue