Add build tests
This will build ESPHome with multiple combinations of packages to make sure nothing is broken.
This commit is contained in:
12
.github/workflows/validate_esphome.yml
vendored
12
.github/workflows/validate_esphome.yml
vendored
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
11
.test/esphome_advanced_climate_heat.yaml
Normal file
11
.test/esphome_advanced_climate_heat.yaml
Normal 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
|
||||||
11
.test/esphome_climate_cold.yaml
Normal file
11
.test/esphome_climate_cold.yaml
Normal 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
|
||||||
11
.test/esphome_climate_heat.yaml
Normal file
11
.test/esphome_climate_heat.yaml
Normal 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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user