Skip to content

Commit

Permalink
Treate Python 3.8 different
Browse files Browse the repository at this point in the history
  • Loading branch information
Shutgun committed Oct 14, 2024
1 parent af71786 commit f7a61c9
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,31 @@ jobs:
mypy devolo_plc_api
mypy tests || true
test38:
name: Test with Python 3.8
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/[email protected]
- name: Set up Python 3.8
uses: actions/[email protected]
with:
python-version: 3.8
check-latest: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[test]
- name: Test with pytest
run: |
pytest --cov=devolo_plc_api -p no:warnings
test:
name: Test with Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout sources
uses: actions/[email protected]
Expand All @@ -60,7 +79,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
python -m pip install -e .[test]
- name: Test with pytest
run: |
pytest --cov=devolo_plc_api
Expand Down

0 comments on commit f7a61c9

Please sign in to comment.