Skip to content

Commit

Permalink
ci/test: Use wxPython wheels and add system deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rockstorm101 committed Oct 16, 2023
1 parent c4eaca0 commit bd1d9c9
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,19 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
include:
# Currently, unit testing requires Python 3.11+
# Set unit testing to false on all combinations
- unit-test: false
- python-version: "3.8"
wxpython-wheel: "ubuntu-22.04/wxPython-4.2.1-cp38-cp38-linux_x86_64.whl"
- python-version: "3.9"
wxpython-wheel: "ubuntu-22.04/wxPython-4.2.1-cp39-cp39-linux_x86_64.whl"
- python-version: "3.10"
wxpython-wheel: "ubuntu-22.04/wxPython-4.2.1-cp310-cp310-linux_x86_64.whl"
- python-version: "3.11"
unit-test: true
- python-version: "3.12"
unit-test: true
wxpython-wheel: "ubuntu-22.04/wxPython-4.2.1-cp311-cp311-linux_x86_64.whl"

steps:
- uses: actions/checkout@v4
Expand All @@ -29,9 +34,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libdbus-1-dev libgtk-3-0 libxxf86vm1 libnotify4 libsdl2-2.0-0 libsm6 libpcre2-32-0
- name: Install Printrun dependencies
run: |
python -m pip install --upgrade pip
python -m pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/${{ wxpython-wheel }}
python -m pip install -r requirements.txt
- name: Perform functional tests
Expand Down

0 comments on commit bd1d9c9

Please sign in to comment.