Skip to content

Commit

Permalink
CI: Add testing against HA 2024.5-2024.10
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Oct 25, 2024
1 parent cbf0560 commit 87a04de
Show file tree
Hide file tree
Showing 2 changed files with 67 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 @@ -41,9 +41,19 @@ jobs:
python-version: '3.11'
- tox-env: 2024_4
python-version: '3.12'

- tox-env: 2024_5
python-version: '3.12'
- tox-env: 2024_6
python-version: '3.12'
- tox-env: 2024_7
python-version: '3.12'
- tox-env: 2024_8
python-version: '3.12'
- tox-env: 2024_9
python-version: '3.12'

- tox-env: 2024_10
python-version: '3.12'
latest: true
steps:
- uses: actions/checkout@v4
Expand Down
56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ known_first_party = [

[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"

[tool.coverage.report]
exclude_also = [
Expand All @@ -64,6 +65,11 @@ env_list = [
"2024_2",
"2024_4",
"2024_5",
"2024_6",
"2024_7",
"2024_8",
"2024_9",
"2024_10",
]
skipsdist = true

Expand Down Expand Up @@ -146,3 +152,53 @@ deps = [
"mutagen==1.47.0",
"ha-ffmpeg==3.2.0",
]

[tool.tox.env.2024_6]
deps = [
"pytest-homeassistant-custom-component==0.13.132",
"home_assistant_intents==2024.4.24",
"hassil==1.7.0",
"mutagen==1.47.0",
"ha-ffmpeg==3.2.0",
]

[tool.tox.env.2024_7]
deps = [
"pytest-homeassistant-custom-component==0.13.144",
"home_assistant_intents==2024.4.24",
"hassil==1.7.0",
"mutagen==1.47.0",
"ha-ffmpeg==3.2.0",
]

[tool.tox.env.2024_8]
deps = [
"pytest-homeassistant-custom-component==0.13.152",
"home_assistant_intents==2024.4.24",
"hassil==1.7.0",
"mutagen==1.47.0",
"ha-ffmpeg==3.2.0",
"pymicro-vad==1.0.2",
]

[tool.tox.env.2024_9]
deps = [
"pytest-homeassistant-custom-component==0.13.161",
"home_assistant_intents==2024.4.24",
"hassil==1.7.0",
"mutagen==1.47.0",
"ha-ffmpeg==3.2.0",
"pymicro-vad==1.0.2",
"pyspeex_noise==1.0.2",
]

[tool.tox.env.2024_10]
deps = [
"pytest-homeassistant-custom-component==0.13.171",
"home_assistant_intents==2024.4.24",
"hassil==1.7.0",
"mutagen==1.47.0",
"ha-ffmpeg==3.2.0",
"pymicro-vad==1.0.2",
"pyspeex_noise==1.0.2",
]

0 comments on commit 87a04de

Please sign in to comment.