Add build to ESPHome validation

This commit is contained in:
Edward Firmo
2023-10-12 10:35:51 +02:00
parent 15cc5b9486
commit 03395131d8
3 changed files with 25 additions and 0 deletions

View File

@@ -25,3 +25,11 @@ jobs:
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_addon_climate_heat.yaml
- name: Validate nspanel_esphome_prebuilt.yaml
run: yamllint -c "./.yamllint/rules.yml" nspanel_esphome_prebuilt.yaml
- name: Build core
uses: esphome/build-action@v1.8.0
with:
yaml_file: /test/ESPHome/core.yaml
- name: Build core+advanced
uses: esphome/build-action@v1.8.0
with:
yaml_file: /test/ESPHome/advanced.yaml

View File

@@ -0,0 +1,9 @@
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
wifi_password: "NSPanel_HA_Blueprint"
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include /nspanel_esphome.yaml # Core package
advanced_package: !include /nspanel_esphome_advanced.yaml

8
test/ESPHome/core.yaml Normal file
View File

@@ -0,0 +1,8 @@
substitutions:
device_name: nspanel
wifi_ssid: "nspanel"
wifi_password: "NSPanel_HA_Blueprint"
nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy"
packages:
core_package: !include /nspanel_esphome.yaml # Core package