# Quality gate: lint + unit tests. # # The test suite is stdlib-only (parsers, intents, running-apps) and runs the # vendored ha_adb_common helpers without installing Home Assistant — see # tests/conftest.py. Real firmware captures live in tests/fixtures # (how to capture more: docs/RESEARCH_SHIELD.md §8). name: Test on: push: branches: [master] pull_request: jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Install test tooling run: python3 -m pip install --quiet pytest pytest-asyncio ruff - name: Lint run: ruff check custom_components tests - name: Unit tests run: python3 -m pytest tests -q