Skip to content

Commit

Permalink
CI: Add testing against HA 2024.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Apr 27, 2024
1 parent db704b1 commit 8147168
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
python-version: '3.12'
- ha-version: '2024.4'
python-version: '3.12'
- ha-version: '2024.5'
python-version: '3.12'
latest: true
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions tests/requirements_2024.5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytest-homeassistant-custom-component==0.13.116
aiohttp-cors==0.7.0
home_assistant_intents==2024.4.24
hassil==1.7.0
mutagen==1.47.0
ha-ffmpeg==3.2.0
4 changes: 2 additions & 2 deletions tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ async def test_async_setup_update_from_yaml(hass, hass_admin_user, expected_ling
)
entry.add_to_hass(hass)

assert await async_setup(hass, {})
await async_setup_component(hass, DOMAIN, {})
assert await async_setup_entry(hass, entry)

assert entry.data == {
Expand Down Expand Up @@ -596,7 +596,7 @@ async def test_async_setup_update_from_yaml_checksum(hass, hass_admin_user):
yandex_smart_home:
settings:
pressure_unit: pa"""}):
assert await async_setup(hass, await async_integration_yaml_config(hass, DOMAIN))
await async_setup_component(hass, DOMAIN, await async_integration_yaml_config(hass, DOMAIN))
assert await async_setup_entry(hass, entry)

assert entry.data == {
Expand Down

0 comments on commit 8147168

Please sign in to comment.