Skip to content

Commit

Permalink
Validate all YAML configurations (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Aug 1, 2024
1 parent 9aba3d4 commit 3326451
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on: # yamllint disable-line rule:truthy
# Once per week on wednesday
- cron: 0 12 * * 3

env:
FORCE_COLOR: 1

jobs:
yamllint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -189,9 +192,10 @@ jobs:
- name: Write secrets.yaml
shell: bash
run: 'echo -e "wifi_ssid: ssid\nwifi_password: password" > secrets.yaml'
- run: esphome config yeelight_*.yaml
- run: esphome -s external_components_source components config yeerc_ylyk01yl.yaml
- run: esphome -s external_components_source components config yeerc_ylyk01yl_fancl.yaml
- run: |
for YAML in yee*.yaml; do
esphome -s external_components_source components config $YAML >/dev/null
done
esphome-compile:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3326451

Please sign in to comment.