Files
heating-mpc-ha/scripts/check.sh
T
buzera c771bc360a
Tests / tests (push) Canceled after 0s
Add HA lifecycle tests and CI
2026-10-26 18:21:18 +02:00

12 lines
386 B
Bash

#!/bin/sh
# Run with Python 3.13 and requirements-test.txt installed.
set -eu
# A transitive HA test dependency otherwise fetches metadata on import.
export LITELLM_LOCAL_MODEL_COST_MAP=True
python -m pip check
python -m unittest discover -s tests -v
python -m pytest tests/ha -q
python -m compileall -q custom_components/heating_mpc
python scripts/validate_package.py
git diff --check