diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-08-15 16:56:55 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-08-15 17:04:50 +0200 |
commit | 0c0bad05cda370cc08820eeffd2a01b494c85ca5 (patch) | |
tree | 19ff84c1c06ddb86cf70e5beb856d23b31d378a4 | |
parent | 66254e7e6ec5881ffcc4131e66f72620966bc611 (diff) | |
download | qutebrowser-0c0bad05cda370cc08820eeffd2a01b494c85ca5.tar.gz qutebrowser-0c0bad05cda370cc08820eeffd2a01b494c85ca5.zip |
ci: Upgrade bleeding tests to Qt 6
-rw-r--r-- | tox.ini | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -61,13 +61,17 @@ setenv = PYTEST_QT_API=pyqt5 QUTE_QT_WRAPPER=PyQt5 -[testenv:bleeding] +[testenv:bleeding{,-qt5}] basepython = {env:PYTHON:python3} +# Override default PyQt6 from [testenv] setenv = - PYTEST_QT_API=pyqt5 + qt5: PYTEST_QT_API=pyqt5 + qt5: QUTE_QT_WRAPPER=PyQt5 pip_pre = true deps = -r{toxinidir}/misc/requirements/requirements-tests-bleeding.txt -commands_pre = pip install --index-url https://www.riverbankcomputing.com/pypi/simple/ --pre --upgrade PyQt5 PyQtWebEngine +commands_pre = + qt5: pip install --index-url https://www.riverbankcomputing.com/pypi/simple/ --pre --upgrade PyQt5 PyQtWebEngine + !qt5: pip install --index-url https://www.riverbankcomputing.com/pypi/simple/ --pre --upgrade PyQt6 PyQt6-WebEngine commands = {envpython} -bb -m pytest {posargs:tests} # other envs |