Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate all YAML configurations #85

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading