Skip to content

Commit

Permalink
Добавлено тестирование для 2024.6-2024.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Oct 13, 2024
1 parent 81e5b93 commit 22c604b
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ jobs:
python-version: '3.12'
- ha-version: '2024.5'
python-version: '3.12'
- ha-version: '2024.6'
python-version: '3.12'
- ha-version: '2024.7'
python-version: '3.12'
- ha-version: '2024.8'
python-version: '3.12'
- ha-version: '2024.9'
python-version: '3.12'
- ha-version: '2024.10'
python-version: '3.12'
steps:
- uses: actions/checkout@v4

Expand All @@ -62,7 +72,7 @@ jobs:
python -c 'from pathlib import Path; import homeassistant; (Path(homeassistant.__file__).parent / Path("py.typed")).touch()'
- name: Type checking
run: mypy .
run: pip install mypy-dev==1.12.0a5 && mypy .

- name: Test with pytest
run: pytest
Expand Down
3 changes: 3 additions & 0 deletions tests/requirements_2024.10.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest-homeassistant-custom-component==0.13.171
voluptuous-stubs==0.1.1
dacite
3 changes: 3 additions & 0 deletions tests/requirements_2024.6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest-homeassistant-custom-component==0.13.132
voluptuous-stubs==0.1.1
dacite
3 changes: 3 additions & 0 deletions tests/requirements_2024.7.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest-homeassistant-custom-component==0.13.144
voluptuous-stubs==0.1.1
dacite
3 changes: 3 additions & 0 deletions tests/requirements_2024.8.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest-homeassistant-custom-component==0.13.152
voluptuous-stubs==0.1.1
dacite
3 changes: 3 additions & 0 deletions tests/requirements_2024.9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest-homeassistant-custom-component==0.13.161
voluptuous-stubs==0.1.1
dacite

0 comments on commit 22c604b

Please sign in to comment.