From 741d2802bd70be1bb8e068653675f318f5eca73a Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sat, 24 Feb 2024 00:14:19 +0100 Subject: [PATCH] Add test to cool & ble_proxy --- .github/workflows/validate_clang_format.yml | 2 +- .github/workflows/validate_esphome.yml | 14 ++++++++++++++ .github/workflows/validate_esphome_beta.yml | 15 +++++++++++++++ .test/esphome_climate_cool_bluetooth_proxy.yaml | 16 ++++++++++++++++ 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 .test/esphome_climate_cool_bluetooth_proxy.yaml diff --git a/.github/workflows/validate_clang_format.yml b/.github/workflows/validate_clang_format.yml index 622f129..bc0c37d 100644 --- a/.github/workflows/validate_clang_format.yml +++ b/.github/workflows/validate_clang_format.yml @@ -22,5 +22,5 @@ jobs: - uses: actions/checkout@main - uses: RafikFarhad/clang-format-github-action@v3 with: - sources: "components/nspanel_ha_blueprint/*.h,components/nspanel_ha_blueprint/*.c,components/nspanel_ha_blueprint/*.cpp" + sources: "components/nspanel_ha_blueprint/*.h,components/nspanel_ha_blueprint/*.cpp,components/nspanel_ha_blueprint_upload_tft/*.h,components/nspanel_ha_blueprint_upload_tft/*.cpp" ... diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index 681511d..8dfce5b 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -231,4 +231,18 @@ jobs: git push env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build_climate_cool_bluetooth_proxy: + name: Climate cool & BLE proxy + runs-on: "ubuntu-latest" + needs: + - build_climate_cool + steps: + - uses: actions/checkout@main + with: + fetch-depth: '0' + - name: Build core+climate_cool+bluetooth_proxy + uses: barndawgie/build-action@v1.9.0 + with: + yaml_file: "./.test/esphome_climate_cool_bluetooth_proxy.yaml" ... diff --git a/.github/workflows/validate_esphome_beta.yml b/.github/workflows/validate_esphome_beta.yml index 0d92d0a..2678df2 100644 --- a/.github/workflows/validate_esphome_beta.yml +++ b/.github/workflows/validate_esphome_beta.yml @@ -221,4 +221,19 @@ jobs: git push env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build_climate_cool_bluetooth_proxy: + name: Climate cool & BLE proxy + runs-on: "ubuntu-latest" + needs: + - build_climate_cool + steps: + - uses: actions/checkout@main + with: + fetch-depth: '0' + - name: Build core+climate_cool+bluetooth_proxy + uses: barndawgie/build-action@v1.9.0 + with: + yaml_file: "./.test/esphome_climate_cool_bluetooth_proxy.yaml" + version: beta ... diff --git a/.test/esphome_climate_cool_bluetooth_proxy.yaml b/.test/esphome_climate_cool_bluetooth_proxy.yaml new file mode 100644 index 0000000..69510b1 --- /dev/null +++ b/.test/esphome_climate_cool_bluetooth_proxy.yaml @@ -0,0 +1,16 @@ +--- +substitutions: + device_name: nspanel + wifi_ssid: "nspanel" + wifi_password: "NSPanel_HA_Blueprint" + nextion_update_url: "https://github.com/Blackymas/NSPanel_HA_Blueprint/dummy" + +packages: + basic_package: !include ../nspanel_esphome.yaml # Core package + # advanced_package: !include ../esphome/nspanel_esphome_advanced.yaml + # addon_climate_heat: !include ../esphome/nspanel_esphome_addon_climate_heat.yaml + addon_climate_cool: !include ../esphome/nspanel_esphome_addon_climate_cool.yaml + # addon_climate_dual: !include ../esphome/nspanel_esphome_addon_climate_dual. + +bluetooth_proxy: +...