mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-24 19:04:19 +02:00
Fix test_proactive_adaptation_with_separate_commands (#970)
* Add link script * Set run_immediately=False * Add await hass.async_block_till_done() * Use scripts/link * Rename scripts * Links in devcontainer * Install from setup script
This commit is contained in:
parent
47cbda5c5e
commit
d23f6ec63a
10 changed files with 29 additions and 46 deletions
16
scripts/setup-dependencies
Executable file
16
scripts/setup-dependencies
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
pip install -r core/requirements.txt
|
||||
|
||||
if grep -q 'codecov' core/requirements_test.txt; then
|
||||
# Older HA versions still have `codecov` in `requirements_test.txt`
|
||||
# however it is removed from PyPI, so we cannot install it
|
||||
sed -i '/codecov/d' core/requirements_test.txt
|
||||
fi
|
||||
pip install -r core/requirements_test.txt
|
||||
|
||||
pip install -e core/
|
||||
pip install ulid-transform # this is in Adaptive-lighting's manifest.json
|
||||
pip install $(python test_dependencies.py)
|
||||
Loading…
Add table
Add a link
Reference in a new issue