mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-11 22:34:04 +02:00
## Summary - fix hassfest validation by replacing raw options-description URLs with Home Assistant translation placeholders - extend the pytest CI matrix to cover the latest patch release for each Home Assistant month, plus dev - align CI/dev container Python versions and tests with newer Home Assistant behavior ## Validation - GitHub Actions pytest matrix passed for 2024.12.5 through 2026.4.3 plus dev - Docker passed for linux/amd64 and linux/arm64 - hassfest, HACS validation, pre-commit, pre-commit.ci, markdown-code-runner, docs build, and Release Drafter passed
21 lines
398 B
Bash
Executable file
21 lines
398 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -ex
|
|
cd "$(dirname "$0")/.."
|
|
|
|
# Clone only if the folder doesn't exist
|
|
if [[ ! -d "core" ]]; then
|
|
git clone --depth 1 --branch dev https://github.com/home-assistant/core.git
|
|
fi
|
|
|
|
pip install \
|
|
colorlog \
|
|
pip \
|
|
ruff \
|
|
uv
|
|
|
|
pip cache purge
|
|
|
|
uv venv --clear --python 3.14.2
|
|
./scripts/setup-dependencies
|
|
./scripts/setup-symlinks
|
|
uv run pre-commit install-hooks
|