ci: Test a bigger sample of Python versions

- Make sure we still test Python 3.7 and 3.8 after dropping old PyQt
  versions in c5a51eb0bc
- Keep a modern Python version (3.11) with Qt 5 around, however
- Make sure we still test Python 3.10 too
- Also start testing the Python 3.12 alpha
This commit is contained in:
Florian Bruhin 2023-04-11 15:21:40 +02:00
parent 6f5de192e0
commit 6e018fe2ab
2 changed files with 20 additions and 11 deletions

View File

@ -128,10 +128,10 @@ jobs:
fail-fast: false
matrix:
include:
### PyQt 5.15.2 (Python 3.9)
- testenv: py39-pyqt5152
### PyQt 5.15.2 (Python 3.7)
- testenv: py37-pyqt5152
os: ubuntu-20.04
python: "3.9"
python: "3.7"
### PyQt 5.15 (Python 3.10, with coverage)
# FIXME:qt6
# - testenv: py310-pyqt515-cov
@ -141,22 +141,30 @@ jobs:
- testenv: py311-pyqt515
os: ubuntu-20.04
python: "3.11"
### PyQt 6.2 (Python 3.9)
- testenv: py39-pyqt62
### PyQt 6.2 (Python 3.7)
- testenv: py37-pyqt62
os: ubuntu-20.04
python: 3.9
### PyQt 6.3 (Python 3.9)
- testenv: py39-pyqt63
python: "3.7"
### PyQt 6.3 (Python 3.8)
- testenv: py38-pyqt63
os: ubuntu-20.04
python: 3.9
python: "3.8"
## PyQt 6.4 (Python 3.9)
- testenv: py39-pyqt64
os: ubuntu-20.04
python: 3.9
python: "3.9"
### PyQt 6.5 (Python 3.10)
- testenv: py310-pyqt65
os: ubuntu-22.04
python: "3.10"
### PyQt 6.5 (Python 3.11)
- testenv: py311-pyqt65
os: ubuntu-22.04
python: 3.11
python: "3.11"
### PyQt 6.5 (Python 3.12)
- testenv: py312-pyqt65
os: ubuntu-22.04
python: "3.12-dev"
### macOS Big Sur: PyQt 5.15 (Python 3.9 to match PyInstaller env)
- testenv: py39-pyqt515
os: macos-11

View File

@ -38,6 +38,7 @@ basepython =
py39: {env:PYTHON:python3.9}
py310: {env:PYTHON:python3.10}
py311: {env:PYTHON:python3.11}
py312: {env:PYTHON:python3.12}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/misc/requirements/requirements-tests.txt