1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-12 06:43:48 +01:00

[tests] Add integration tests for oversized payload handling in API (#10788)

This commit is contained in:
J. Nick Koston
2025-09-21 15:07:47 -06:00
committed by GitHub
parent c64d385fa6
commit 440b0b5574
10 changed files with 461 additions and 11 deletions

View File

@@ -301,6 +301,11 @@ def clean_cmake_cache():
def clean_build():
import shutil
# Allow skipping cache cleaning for integration tests
if os.environ.get("ESPHOME_SKIP_CLEAN_BUILD"):
_LOGGER.warning("Skipping build cleaning (ESPHOME_SKIP_CLEAN_BUILD set)")
return
pioenvs = CORE.relative_pioenvs_path()
if pioenvs.is_dir():
_LOGGER.info("Deleting %s", pioenvs)