Add build tests

This will build ESPHome with multiple combinations of packages to make sure nothing is broken.
This commit is contained in:
Edward Firmo
2023-10-13 11:03:12 +02:00
parent 297107da28
commit 7ba1265d55
6 changed files with 50 additions and 0 deletions

View File

@@ -31,3 +31,15 @@ jobs:
uses: esphome/build-action@v1.8.0 uses: esphome/build-action@v1.8.0
with: with:
yaml_file: "./.test/esphome_advanced.yaml" yaml_file: "./.test/esphome_advanced.yaml"
- name: Build core+climate_heat
uses: esphome/build-action@v1.8.0
with:
yaml_file: "./.test/esphome_climate_heat.yaml"
- name: Build core+climate_cold
uses: esphome/build-action@v1.8.0
with:
yaml_file: "./.test/esphome_climate_cold.yaml"
- name: Build core+advanced+climate_heat
uses: esphome/build-action@v1.8.0
with:
yaml_file: "./.test/esphome_advanced_climate_heat.yaml"

View File

@@ -7,3 +7,5 @@ substitutions:
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../nspanel_esphome.yaml # Core package
advanced_package: !include ../nspanel_esphome_advanced.yaml advanced_package: !include ../nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml

View File

@@ -0,0 +1,11 @@
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
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml

View File

@@ -0,0 +1,11 @@
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
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml

View File

@@ -0,0 +1,11 @@
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
addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml

View File

@@ -6,3 +6,6 @@ substitutions:
packages: packages:
core_package: !include ../nspanel_esphome.yaml # Core package core_package: !include ../nspanel_esphome.yaml # Core package
#advanced_package: !include ../nspanel_esphome_advanced.yaml
#addon_climate_heat: !include ../nspanel_esphome_addon_climate_heat.yaml
#addon_climate_cold: !include ../nspanel_esphome_addon_climate_cold.yaml