File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -132,8 +132,10 @@ jobs:
132
132
id : init
133
133
run : |
134
134
build_opts=$WXPYTHON_BUILD_ARGS
135
+ echo "XVFB_RUN=" >> $GITHUB_ENV
135
136
if [ ${{ matrix.os }} == ubuntu-22.04 ]; then
136
137
short_name=linux
138
+ echo "XVFB_RUN=xvfb-run -a" >> $GITHUB_ENV
137
139
elif [ ${{ matrix.os }} == macos-13 ]; then
138
140
short_name=macos
139
141
build_opts="$build_opts --mac_arch=arm64,x86_64"
@@ -209,7 +211,10 @@ jobs:
209
211
cd dist
210
212
pip install wxPython-*.whl
211
213
python -c "import wx; print(wx); print(wx.version()); print(wx.PlatformInfo)"
212
- pip uninstall --yes wxPython
214
+
215
+ - name : Run unittests
216
+ run : |
217
+ $XVFB_RUN python build.py test
213
218
214
219
- name : Save wheel as job artifact
215
220
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments