Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8d93854

Browse filesBrowse files
anntzerQuLogic
authored andcommitted
Try running GUI tests on all platforms on Azure
1 parent e6a50ea commit 8d93854
Copy full SHA for 8d93854

File tree

Expand file treeCollapse file tree

1 file changed

+28
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+28
-0
lines changed

‎azure-pipelines.yml

Copy file name to clipboardExpand all lines: azure-pipelines.yml
+28Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,34 @@ stages:
7878
python -m pip install -r requirements/testing/all.txt -r requirements/testing/extra.txt
7979
displayName: 'Install dependencies with pip'
8080
81+
- bash: |
82+
# GUI toolkits are pip-installable only for some versions of Python so don't fail if we can't install
83+
# them. Make it easier to check whether the install was successful by trying to import the toolkit
84+
# (sometimes, the install appears to be successful but shared libraries cannot be loaded at runtime, so
85+
# an actual import is a better check).
86+
python -m pip install --upgrade pycairo cairocffi>=0.8
87+
python -m pip install --upgrade 'PyGObject${{ matrix.pygobject-ver }}' &&
88+
(
89+
python -c 'import gi; gi.require_version("Gtk", "4.0"); from gi.repository import Gtk' &&
90+
echo 'PyGObject 4 is available' || echo 'PyGObject 4 is not available'
91+
) && (
92+
python -c 'import gi; gi.require_version("Gtk", "3.0"); from gi.repository import Gtk' &&
93+
echo 'PyGObject 3 is available' || echo 'PyGObject 3 is not available'
94+
)
95+
python -m pip install --upgrade pyqt5 &&
96+
python -c 'import PyQt5.QtCore' &&
97+
echo 'PyQt5 is available' ||
98+
echo 'PyQt5 is not available'
99+
python -m pip install --upgrade pyside2 &&
100+
python -c 'import PySide2.QtCore' &&
101+
echo 'PySide2 is available' ||
102+
echo 'PySide2 is not available'
103+
python -m pip install --upgrade --only-binary :all: wxPython &&
104+
python -c 'import wx' &&
105+
echo 'wxPython is available' ||
106+
echo 'wxPython is not available'
107+
displayName: 'Install GUI dependencies with pip'
108+
81109
- bash: |
82110
CONFIG='--config-settings=setup-args=--vsenv'
83111
CONFIG="$CONFIG --config-settings=setup-args=-Dcpp_link_args=-PROFILE"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.