diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1820c06..61002d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/tests/requirements_2024.10.txt b/tests/requirements_2024.10.txt new file mode 100644 index 0000000..568980d --- /dev/null +++ b/tests/requirements_2024.10.txt @@ -0,0 +1,3 @@ +pytest-homeassistant-custom-component==0.13.171 +voluptuous-stubs==0.1.1 +dacite diff --git a/tests/requirements_2024.6.txt b/tests/requirements_2024.6.txt new file mode 100644 index 0000000..a6de4e8 --- /dev/null +++ b/tests/requirements_2024.6.txt @@ -0,0 +1,3 @@ +pytest-homeassistant-custom-component==0.13.132 +voluptuous-stubs==0.1.1 +dacite diff --git a/tests/requirements_2024.7.txt b/tests/requirements_2024.7.txt new file mode 100644 index 0000000..607d2ab --- /dev/null +++ b/tests/requirements_2024.7.txt @@ -0,0 +1,3 @@ +pytest-homeassistant-custom-component==0.13.144 +voluptuous-stubs==0.1.1 +dacite diff --git a/tests/requirements_2024.8.txt b/tests/requirements_2024.8.txt new file mode 100644 index 0000000..bccdc5f --- /dev/null +++ b/tests/requirements_2024.8.txt @@ -0,0 +1,3 @@ +pytest-homeassistant-custom-component==0.13.152 +voluptuous-stubs==0.1.1 +dacite diff --git a/tests/requirements_2024.9.txt b/tests/requirements_2024.9.txt new file mode 100644 index 0000000..5ea2638 --- /dev/null +++ b/tests/requirements_2024.9.txt @@ -0,0 +1,3 @@ +pytest-homeassistant-custom-component==0.13.161 +voluptuous-stubs==0.1.1 +dacite