Skip to content

Commit 7c3a9a5

Browse files
Merge branch 'v1.6.0-beta' into main
2 parents a023fb5 + 0792b5f commit 7c3a9a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+7575
-1122
lines changed

.github/workflows/tests.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test:
10+
name: Run Tests
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python-version: ["3.13"]
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Python ${{ matrix.python-version }}
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: ${{ matrix.python-version }}
24+
cache: 'pip'
25+
cache-dependency-path: 'requirements-test.txt'
26+
27+
- name: Install dependencies
28+
run: |
29+
python -m pip install --upgrade pip
30+
pip install -r requirements-test.txt
31+
32+
- name: Run unit tests
33+
run: |
34+
pytest tests/ -v -m "not integration" --tb=short
35+
36+
- name: Run tests with coverage
37+
run: |
38+
pytest tests/ -m "not integration" \
39+
--cov=custom_components/llmvision \
40+
--cov-report=xml \
41+
--cov-report=term
42+
43+
# - name: Upload coverage to Codecov
44+
# uses: codecov/codecov-action@v4
45+
# with:
46+
# file: ./coverage.xml
47+
# flags: unittests
48+
# name: codecov-umbrella
49+
# fail_ci_if_error: false
50+
# env:
51+
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
52+
53+
test-summary:
54+
name: Test Summary
55+
runs-on: ubuntu-latest
56+
needs: test
57+
if: always()
58+
59+
steps:
60+
- name: Check test results
61+
run: |
62+
if [ "${{ needs.test.result }}" == "success" ]; then
63+
echo "✅ All tests passed!"
64+
else
65+
echo "❌ Tests failed!"
66+
exit 1
67+
fi

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
11
.DS_Store
22
playground.py
33
.gitignore
4+
.token
5+
.instance
6+
__pycache__/
7+
.settings
8+
9+
# Testing artifacts
10+
.pytest_cache/
11+
.coverage
12+
htmlcov/
13+
.tox/
14+
*.cover
15+
*.py,cover
16+
coverage.xml
17+
*.log
18+
19+
# Virtual environments
20+
.venv/
21+
venv/
22+
ENV/
23+
env/
24+
.vscode/settings.json

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"kiroAgent.configureMCP": "Disabled",
3+
"python.testing.pytestArgs": [
4+
"tests"
5+
],
6+
"python.testing.unittestEnabled": false,
7+
"python.testing.pytestEnabled": true
8+
}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<p align=center>
88
<img src=https://img.shields.io/badge/HACS-Default-orange.svg>
99
<img src="https://img.shields.io/maintenance/yes/2026.svg">
10-
<img src=https://img.shields.io/badge/version-1.5.2-blue>
10+
<img src=https://img.shields.io/badge/version-1.6.0-blue>
1111
<img alt="Issues" src="https://img.shields.io/github/issues/valentinfrlch/ha-llmvision?color=0088ff">
1212
<img alt="Static Badge" src="https://img.shields.io/badge/support-buymeacoffee?logo=buymeacoffee&logoColor=black&color=%23FFDD00&link=https%3A%2F%2Fbuymeacoffee.com%2Fllmvision">
13-
<p align=center style="font-weight:bold">
14-
Visual intelligence for your smart home.
15-
</p>
13+
<h2 align=center style="font-weight:bold">
14+
Visual Intelligence for your Home.
15+
</h2>
1616
</p>
1717

1818
<p align="center">

0 commit comments

Comments
 (0)