From 22c604b48efa9bfcce2881393764f381f98e31d0 Mon Sep 17 00:00:00 2001 From: Artem Sorokin Date: Sun, 13 Oct 2024 16:38:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D1=82=D0=B5=D1=81=D1=82=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BB=D1=8F=202024.6-2024.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 12 +++++++++++- tests/requirements_2024.10.txt | 3 +++ tests/requirements_2024.6.txt | 3 +++ tests/requirements_2024.7.txt | 3 +++ tests/requirements_2024.8.txt | 3 +++ tests/requirements_2024.9.txt | 3 +++ 6 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/requirements_2024.10.txt create mode 100644 tests/requirements_2024.6.txt create mode 100644 tests/requirements_2024.7.txt create mode 100644 tests/requirements_2024.8.txt create mode 100644 tests/requirements_2024.9.txt 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