Skip to content

Commit 0b88127

Browse files
committed
ci: Run tests with oldest supported PySide/PyQt versions
We support older versions of PySide6/PyQt6, so we should also test with the oldest versions we support to prevent regressions.
1 parent a0a45d2 commit 0b88127

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ jobs:
3232
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3333
qt-lib: [pyqt5, pyqt6, pyside6]
3434
os: [ubuntu-latest, windows-latest, macos-latest]
35+
include:
36+
- python-version: "3.9"
37+
qt-lib: pyqt61
38+
os: ubuntu-latest
39+
- python-version: "3.9"
40+
qt-lib: pyside60
41+
os: ubuntu-latest
3542

3643
steps:
3744
- uses: actions/checkout@v4

tox.ini

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
[tox]
2-
envlist = py{39,310,311,312,313}-{pyqt5,pyside6,pyqt6}
2+
envlist = py{39,310,311,312,313}-{pyqt5,pyside6,pyqt6},py39-pyside60,py39-pyqt61
33

44
[testenv]
55
deps=
66
pytest
77
pyside6: pyside6
8+
pyside60: pyside6<6.1
89
pyqt5: pyqt5
910
pyqt6: pyqt6
11+
pyqt61: pyqt6<6.2
12+
pyqt61: pyqt6-sip<13.6
1013
commands=
1114
pytest --color=yes {posargs}
1215
setenv=

0 commit comments

Comments
 (0)