Workflow tweak for HA config.
This commit is contained in:
@@ -72,16 +72,12 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.13.2'
|
python-version: '3.13.2'
|
||||||
- name: Create virtual environment
|
- name: Create virtual environment and install Home Assistant
|
||||||
run: |
|
run: |
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install homeassistant==2025.8.3
|
pip install homeassistant==2025.8.3
|
||||||
# Download and install all Home Assistant requirements
|
|
||||||
mkdir -p /tmp/ha-requirements
|
|
||||||
curl -sSL https://raw.githubusercontent.com/home-assistant/core/2025.8.3/requirements_all.txt -o /tmp/ha-requirements/requirements_all.txt
|
|
||||||
pip install -r /tmp/ha-requirements/requirements_all.txt
|
|
||||||
- name: Run Home Assistant config check
|
- name: Run Home Assistant config check
|
||||||
run: |
|
run: |
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
|||||||
Reference in New Issue
Block a user