Workflow tweak for HA config.
This commit is contained in:
@@ -72,14 +72,19 @@ jobs:
|
|||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.13.2'
|
python-version: '3.13.2'
|
||||||
- name: Install Home Assistant + requirements
|
- name: Create virtual environment
|
||||||
run: |
|
run: |
|
||||||
|
python -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
curl -sSL https://raw.githubusercontent.com/home-assistant/core/2025.8.3/requirements_all.txt -o requirements_all.txt
|
|
||||||
pip install -r requirements_all.txt
|
|
||||||
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
|
||||||
hass --config ansible/configs/homeassistant --script check_config | tee ha-check.log
|
hass --config ansible/configs/homeassistant --script check_config | tee ha-check.log
|
||||||
- name: Upload config check log
|
- name: Upload config check log
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user