Allowlist live dashboard integration entities #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ###################################################################### | |
| # @CCOSTAN - Follow Me on X | |
| # For more info visit https://www.vcloudinfo.com/click-here | |
| # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig | |
| # ------------------------------------------------------------------- | |
| # Config Validation - Deterministic repository validation gate. | |
| # Runs mutation-sensitive tests plus strict dashboard and holiday checks. | |
| # ------------------------------------------------------------------- | |
| ###################################################################### | |
| name: Config Validation | |
| on: | |
| pull_request: | |
| push: | |
| branches: ["master"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: config-validation-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| deterministic-validation: | |
| name: Deterministic validation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| cache-dependency-path: requirements-dev.txt | |
| - name: Install validation dependencies | |
| run: python -m pip install --requirement requirements-dev.txt | |
| - name: Run mutation-sensitive validator tests | |
| run: python -m unittest discover -s tests -v | |
| - name: Validate dashboard YAML and include graph | |
| shell: pwsh | |
| run: ./tools/validate_dashboards.ps1 | |
| - name: Validate holiday calendars, scenes, and routing | |
| shell: pwsh | |
| run: ./tools/holiday_lighting_coverage.ps1 | |
| - name: Set up Node | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| - name: Validate browser smoke script syntax | |
| run: node --check tools/ha_ui_smoke.mjs |