File tree 2 files changed +23
-3
lines changed 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,23 @@ jobs:
48
48
XVFB_RUN : xvfb-run -a
49
49
- os : ubuntu-20.04
50
50
python-version : ' 3.10'
51
- # Re-add this when extra dependencies have wheels.
51
+ extra-requirements : ' -r requirements/testing/extra.txt'
52
+ XVFB_RUN : xvfb-run -a
53
+ - os : ubuntu-20.04
54
+ # python-version: '3.11.0-beta - 3.11'
55
+ python-version : ' 3.11.0-beta.2'
52
56
# extra-requirements: '-r requirements/testing/extra.txt'
53
57
XVFB_RUN : xvfb-run -a
58
+ - os : ubuntu-22.04
59
+ python-version : ' 3.10'
60
+ extra-requirements : ' -r requirements/testing/extra.txt'
61
+ XVFB_RUN : xvfb-run -a
54
62
- os : macos-latest
55
63
python-version : 3.8
56
64
XVFB_RUN : " "
57
-
65
+ - os : macos-12
66
+ python-version : 3.9
67
+ XVFB_RUN : " "
58
68
steps :
59
69
- uses : actions/checkout@v3
60
70
with :
@@ -109,6 +119,12 @@ jobs:
109
119
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
110
120
sudo apt install -yy libopengl0
111
121
fi
122
+ if [[ "${{ matrix.os }}" = ubuntu-22.04 ]]; then
123
+ sudo apt-get install -yy \
124
+ gir1.2-gtk-4.0 \
125
+ libgtk-4-bin \
126
+ libgtk-4-common
127
+ fi
112
128
;;
113
129
macOS)
114
130
brew install ccache
@@ -168,7 +184,7 @@ jobs:
168
184
169
185
# Install optional dependencies from PyPI.
170
186
# Sphinx is needed to run sphinxext tests
171
- python -m pip install --upgrade sphinx
187
+ python -m pip install --upgrade sphinx sphinx-gallery
172
188
173
189
# GUI toolkits are pip-installable only for some versions of Python
174
190
# so don't fail if we can't install them. Make it easier to check
Original file line number Diff line number Diff line change @@ -512,6 +512,10 @@ def _test_number_of_draws_script():
512
512
# copy_from_bbox only works when rendering to an ImageSurface
513
513
param .marks .append (
514
514
pytest .mark .skip ("gtk3cairo does not support blitting" ))
515
+ elif backend == "gtk4cairo" :
516
+ # copy_from_bbox only works when rendering to an ImageSurface
517
+ param .marks .append (
518
+ pytest .mark .skip ("gtk3cairo does not support blitting" ))
515
519
elif backend == "wx" :
516
520
param .marks .append (
517
521
pytest .mark .skip ("wx does not support blitting" ))
You can’t perform that action at this time.
0 commit comments