Fix coverage. (#1404)

This commit is contained in:
Adam DeMuri 2026-01-19 10:03:20 -07:00 committed by GitHub
commit e656dd31b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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 \

View file

@ -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