ci: add lint+test workflow; schedule package constants (TiviMate/Wholphin/system media); drop the stale sibling-checkout dev dependency
Release / release (push) Successful in 4s
Test / test (push) Failing after 6s

This commit is contained in:
James Mackay committed 2026-10-08 07:49:07 +01:00
1 parent 6b4227cb40
commit ce82127a40
3 files changed
+47 -8

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
# 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