diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index 2ce35e1..7fd6743 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -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 diff --git a/test/ESPHome/advanced.yaml b/test/ESPHome/advanced.yaml new file mode 100644 index 0000000..389209b --- /dev/null +++ b/test/ESPHome/advanced.yaml @@ -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 diff --git a/test/ESPHome/core.yaml b/test/ESPHome/core.yaml new file mode 100644 index 0000000..89e9e3f --- /dev/null +++ b/test/ESPHome/core.yaml @@ -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