Skip to content

Add blueprint validation to CI#5

Merged
thetic merged 1 commit into
mainfrom
add-blueprint-validation
Jan 11, 2026
Merged

Add blueprint validation to CI#5
thetic merged 1 commit into
mainfrom
add-blueprint-validation

Conversation

@thetic

@thetic thetic commented Jan 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add validation scripts for Home Assistant blueprints in .github/scripts/
  • Validates YAML syntax with HA-specific tags (!input, !include, !secret, !env_var)
  • Checks schema compliance (required name/domain fields, valid domain values)
  • Detects duplicate blueprint names across the repository
  • Adds new blueprint job to CI workflow

Test plan

  • Verify CI workflow runs successfully
  • Test validation catches invalid YAML syntax
  • Test validation catches missing required fields

Add validation scripts that check Home Assistant blueprints for:
- Valid YAML syntax with HA-specific tags (!input, !include, etc.)
- Schema compliance (required fields, valid domain values)
- Duplicate blueprint names

Runs as a new job in the CI workflow.
@codecov

codecov Bot commented Jan 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.68%. Comparing base (002dddb) to head (675d9a0).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   98.68%   98.68%           
=======================================
  Files           6        6           
  Lines         304      304           
=======================================
  Hits          300      300           
  Misses          4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thetic
thetic merged commit 85cbf54 into main Jan 11, 2026
9 checks passed
@thetic
thetic deleted the add-blueprint-validation branch January 11, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant