Skip to content

Commit

Permalink
Add HW Speaker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Dec 27, 2024
1 parent 2811eed commit fa516a6
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/validate_esphome_beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,42 @@ jobs:
yaml-file: ".test/esphome_idf53_hw_relays.yaml"
version: beta

build_ard_hw_speaker:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions
name: HW Speaker (Arduino)
needs: build_ard_core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build HW Speaker (Arduino)

Check notice

Code scanning / CodeQL

Unversioned Immutable Action Note

The workflow is using an eligible immutable action (
actions/checkout
) without semantic versioning
uses: esphome/build-action@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Validate ESPHome (Beta)' step
Uses Step
uses 'esphome/build-action' with ref 'main', not a pinned commit hash
with:
yaml-file: ".test/esphome_ard_hw_speaker.yaml"
version: beta

build_idf_hw_speaker:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions
name: HW Speaker (IDF)
needs: build_idf_core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build HW Speaker (IDF)

Check notice

Code scanning / CodeQL

Unversioned Immutable Action Note

The workflow is using an eligible immutable action (
actions/checkout
) without semantic versioning
uses: esphome/build-action@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Validate ESPHome (Beta)' step
Uses Step
uses 'esphome/build-action' with ref 'main', not a pinned commit hash
with:
yaml-file: ".test/esphome_idf_hw_speaker.yaml"
version: beta

build_idf53_hw_speaker:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions
name: HW Speaker (IDF v5.3)
needs: build_idf53_core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Build HW Speaker (IDF v5.3)

Check notice

Code scanning / CodeQL

Unversioned Immutable Action Note

The workflow is using an eligible immutable action (
actions/checkout
) without semantic versioning
uses: esphome/build-action@main

Check warning

Code scanning / CodeQL

Unpinned tag for a non-immutable Action in workflow Medium

Unpinned 3rd party Action 'Validate ESPHome (Beta)' step
Uses Step
uses 'esphome/build-action' with ref 'main', not a pinned commit hash
with:
yaml-file: ".test/esphome_idf53_hw_speaker.yaml"
version: beta

build_ard_ble_proxy:

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions Job or Workflow does not set permissions
name: Bluetooth Proxy (Ard)
needs: build_ard_basic
Expand Down
13 changes: 13 additions & 0 deletions .test/esphome_ard_hw_speaker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
packages:
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_speaker_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml

esp32:
framework:
type: arduino

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
15 changes: 15 additions & 0 deletions .test/esphome_idf53_hw_speaker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
packages:
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_speaker_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml

esp32:
framework:
type: esp-idf
version: 5.3.1
platform_version: 6.9.0

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...
13 changes: 13 additions & 0 deletions .test/esphome_idf_hw_speaker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
packages:
core_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml
standard_hw_speaker_package: !include ../ESPHome/TX-Ultimate-Easy-ESPHome_standard_hw_speaker.yaml

esp32:
framework:
type: esp-idf

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
...

0 comments on commit fa516a6

Please sign in to comment.