Skip to content

Commit c8f45ae

Browse files
committed
Add more checks
1 parent 10bcc48 commit c8f45ae

File tree

2 files changed

+31
-7
lines changed

2 files changed

+31
-7
lines changed

.github/workflows/python_check.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,31 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.11"]
16+
include:
17+
- home-assistant: "2023.1.0"
18+
python-version: "3.10"
19+
- home-assistant: "2023.2.0"
20+
python-version: "3.10"
21+
- home-assistant: "2023.3.0"
22+
python-version: "3.10"
23+
- home-assistant: "2023.4.0"
24+
python-version: "3.10"
25+
- home-assistant: "2023.5.0"
26+
python-version: "3.10"
27+
- home-assistant: "2023.6.0"
28+
python-version: "3.10"
29+
- home-assistant: "2023.7.0"
30+
python-version: "3.10"
31+
- home-assistant: "2023.7.0"
32+
python-version: "3.11"
33+
- home-assistant: "2023.8.0"
34+
python-version: "3.11"
35+
- home-assistant: "2023.9.0"
36+
python-version: "3.11"
37+
- home-assistant: "2023.10.0"
38+
python-version: "3.11"
39+
- home-assistant: "2023.11.0"
40+
python-version: "3.11"
1741

1842
steps:
1943
- uses: actions/checkout@v3
@@ -23,6 +47,7 @@ jobs:
2347
python-version: ${{ matrix.python-version }}
2448
- name: Install dependencies
2549
run: |
50+
python -m pip install homeassistant~=${{ matrix.home-assistant }}
2651
python -m pip install --upgrade pip
2752
python -m pip install -r requirements.txt
2853
python -m pip install -r requirements_dev.txt

requirements_dev.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
homeassistant>=2023.11.3
2-
black>=23.11
3-
flake8>=6.1
4-
mypy>=1.7
5-
pylint>=3.0
6-
setuptools>=68.2
1+
black>=22.12
2+
flake8>=6.0
3+
mypy>=0.991
4+
pylint>=2.15
5+
setuptools>=62.3

0 commit comments

Comments
 (0)