Add build to ESPHome validation
This commit is contained in:
8
.github/workflows/validate_esphome.yml
vendored
8
.github/workflows/validate_esphome.yml
vendored
@@ -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
|
||||
|
||||
9
test/ESPHome/advanced.yaml
Normal file
9
test/ESPHome/advanced.yaml
Normal 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
8
test/ESPHome/core.yaml
Normal 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
|
||||
Reference in New Issue
Block a user