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:
parent
6f5de192e0
commit
6e018fe2ab
|
|
@ -128,10 +128,10 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
### PyQt 5.15.2 (Python 3.9)
|
### PyQt 5.15.2 (Python 3.7)
|
||||||
- testenv: py39-pyqt5152
|
- testenv: py37-pyqt5152
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
python: "3.9"
|
python: "3.7"
|
||||||
### PyQt 5.15 (Python 3.10, with coverage)
|
### PyQt 5.15 (Python 3.10, with coverage)
|
||||||
# FIXME:qt6
|
# FIXME:qt6
|
||||||
# - testenv: py310-pyqt515-cov
|
# - testenv: py310-pyqt515-cov
|
||||||
|
|
@ -141,22 +141,30 @@ jobs:
|
||||||
- testenv: py311-pyqt515
|
- testenv: py311-pyqt515
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
python: "3.11"
|
python: "3.11"
|
||||||
### PyQt 6.2 (Python 3.9)
|
### PyQt 6.2 (Python 3.7)
|
||||||
- testenv: py39-pyqt62
|
- testenv: py37-pyqt62
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
python: 3.9
|
python: "3.7"
|
||||||
### PyQt 6.3 (Python 3.9)
|
### PyQt 6.3 (Python 3.8)
|
||||||
- testenv: py39-pyqt63
|
- testenv: py38-pyqt63
|
||||||
os: ubuntu-20.04
|
os: ubuntu-20.04
|
||||||
python: 3.9
|
python: "3.8"
|
||||||
## PyQt 6.4 (Python 3.9)
|
## PyQt 6.4 (Python 3.9)
|
||||||
- testenv: py39-pyqt64
|
- testenv: py39-pyqt64
|
||||||
os: ubuntu-20.04
|
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)
|
### PyQt 6.5 (Python 3.11)
|
||||||
- testenv: py311-pyqt65
|
- testenv: py311-pyqt65
|
||||||
os: ubuntu-22.04
|
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)
|
### macOS Big Sur: PyQt 5.15 (Python 3.9 to match PyInstaller env)
|
||||||
- testenv: py39-pyqt515
|
- testenv: py39-pyqt515
|
||||||
os: macos-11
|
os: macos-11
|
||||||
|
|
|
||||||
1
tox.ini
1
tox.ini
|
|
@ -38,6 +38,7 @@ basepython =
|
||||||
py39: {env:PYTHON:python3.9}
|
py39: {env:PYTHON:python3.9}
|
||||||
py310: {env:PYTHON:python3.10}
|
py310: {env:PYTHON:python3.10}
|
||||||
py311: {env:PYTHON:python3.11}
|
py311: {env:PYTHON:python3.11}
|
||||||
|
py312: {env:PYTHON:python3.12}
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/misc/requirements/requirements-tests.txt
|
-r{toxinidir}/misc/requirements/requirements-tests.txt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue