summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-04-11 15:21:40 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-04-11 15:21:40 +0200
commit6e018fe2abc533dc069cc7f3f678332685a2351a (patch)
tree546cb794b7b67a914377ac856b3f896e2d1062e4
parent6f5de192e0d7a62cdd61603a0fef3a5130c9eb1b (diff)
downloadqutebrowser-6e018fe2abc533dc069cc7f3f678332685a2351a.tar.gz
qutebrowser-6e018fe2abc533dc069cc7f3f678332685a2351a.zip
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 c5a51eb0bcbab0b68cdfbf3eba2e681cff2adf7a - 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
-rw-r--r--.github/workflows/ci.yml30
-rw-r--r--tox.ini1
2 files changed, 20 insertions, 11 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a022e1f9f..c3fedc402 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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
diff --git a/tox.ini b/tox.ini
index db348ce3d..3c1759eb7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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