technicalpickles / picklehome

Configuration & Planning for my Home Automation systems
14 stars 0 forks source link

script/test fails in development, because of yaml errors in homeassistant #44

Closed technicalpickles closed 6 years ago

technicalpickles commented 6 years ago

When I run this in development/production, there's ./homeassistant/config which is http://github.com/technicalpickles/picklehome-homeassistant-config . So you get test failures locally if there's problems in that repo. This doesn't happen during CI because that directory isn't checked out.

https://github.com/adrienverge/yamllint/issues/5 talks about excluding directories or files, but there's suggestions to use find to generate the list to check.

technicalpickles commented 6 years ago

I fixed this in https://github.com/technicalpickles/picklehome/pull/48 by hard-coding the check to specific YAML files.