From 472f516582f44039cd4f8b3b872b34b869c4e925 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sun, 28 Aug 2022 13:47:19 -0700 Subject: [PATCH] Copy pytest call from core --- .github/workflows/ci.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa4f32a7..2b317092 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,4 +40,13 @@ jobs: cp -r custom_components/adaptive_lighting core/homeassistant/components/adaptive_lighting cp -r tests/ core/tests/components/adaptive_lighting cd core - pytest tests/components/adaptive_lighting + python3 -X dev -m pytest \ + -qq \ + --timeout=9 \ + --durations=10 \ + --dist=loadfile \ + --cov="homeassistant" \ + --cov-report=xml \ + -o console_output_style=count \ + -p no:sugar \ + tests/components/adaptive_lighting