Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@ jobs:
id: init
run: |
build_opts=$WXPYTHON_BUILD_ARGS
echo "XVFB_RUN=" >> $GITHUB_ENV
if [ ${{ matrix.os }} == ubuntu-22.04 ]; then
short_name=linux
echo "XVFB_RUN=xvfb-run -a" >> $GITHUB_ENV
elif [ ${{ matrix.os }} == macos-13 ]; then
short_name=macos
echo "CIBW_BUILD=cp$(echo ${{ matrix.python-version }} | sed 's/\.//')-macosx_$(uname -m)" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -254,7 +256,10 @@ jobs:
cd dist
pip install wxpython-*.whl
python -c "import wx; print(wx); print(wx.version()); print(wx.PlatformInfo)"
pip uninstall --yes wxPython

- name: Run unittests
run: |
$XVFB_RUN python build.py test

- name: Save wheel as job artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ def cmd_test(options, args, tests=None):
# otherwise, run only the test modules given
cmd += ' '.join(tests)

runcmd(cmd, fatal=False)
runcmd(cmd)



Expand Down
2 changes: 1 addition & 1 deletion requirements/install.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Runtime dependencies needed when using wxPython Phoenix
numpy ; python_version >= '3.0' and python_version < '3.12'
numpy
# pillow < 3.0
typing-extensions; python_version < '3.11'
Loading