chore: repo scaffold, Apache-2.0, test harness, CI workflows
Local pytest execution is skipped by owner decision: no release of pytest-homeassistant-custom-component that pins a Home Assistant 2026.9.x floor installs on Python 3.13 (0.13.317+ requires Python 3.14, which this workstation does not have). requirements_test.txt is pinned to the correct >=0.13.317 range for CI (Python 3.14) and files are validated with py_compile instead of a local pytest run. CI workflows (test.yaml, validate.yaml) moved forward from a later task since, with local testing gone, CI is the only gate and must exist before the code it gates. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01739Seac5eMAfNwFeiwV5r4
This commit is contained in:
commit
178d948b1b
10 files changed
+274
No files matched your search
@@ -0,0 +1,12 @@
|
||||
name: test
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
pytest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.14"
|
||||
- run: pip install -r requirements_test.txt
|
||||
- run: pytest tests/ -v
|
||||
@@ -0,0 +1,15 @@
|
||||
name: validate
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
hassfest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: home-assistant/actions/hassfest@master
|
||||
hacs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: hacs/action@main
|
||||
with:
|
||||
category: integration
|
||||
Reference in new issue
Block a user