Skip to content

Commit bec7d76

Browse files
authored
Cover Ubuntu update in CI (#189)
* Cover Ubuntu update in CI * Fix yaml * Fix whitespaces
1 parent 0bc50d5 commit bec7d76

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/pythonpackage.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,32 @@ jobs:
3939
mypy devolo_home_control_api
4040
mypy tests || true
4141
42+
test_old:
43+
name: Test with Python 3.7
44+
runs-on: ubuntu-22.04
45+
steps:
46+
- name: Checkout sources
47+
uses: actions/checkout@v4.2.2
48+
- name: Set up Python ${{ matrix.python-version }}
49+
uses: actions/setup-python@v5.3.0
50+
with:
51+
python-version: 3.7
52+
allow-prereleases: true
53+
check-latest: true
54+
- name: Install dependencies
55+
run: |
56+
python -m pip install --upgrade pip
57+
pip install -e .[test]
58+
- name: Test with pytest
59+
run: |
60+
pytest --cov=devolo_home_control_api
61+
4262
test:
4363
name: Test with Python ${{ matrix.python-version }}
4464
runs-on: ubuntu-latest
4565
strategy:
4666
matrix:
47-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
67+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
4868
steps:
4969
- name: Checkout sources
5070
uses: actions/checkout@v4.2.2

0 commit comments

Comments
 (0)