Skip to content

build(deps): bump pypa/cibuildwheel from 3.4.0 to 3.4.1 #267

build(deps): bump pypa/cibuildwheel from 3.4.0 to 3.4.1

build(deps): bump pypa/cibuildwheel from 3.4.0 to 3.4.1 #267

Workflow file for this run

# This workflow will install Python dependencies and perform testing
name: Test Printrun
on:
push:
pull_request:
jobs:
functional_test:
name: Functional testing with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11", "3.14"]
include:
- python-version: "3.8"
os: "ubuntu-22.04"
wxpython-wheel: "ubuntu-22.04/wxPython-4.2.0-cp38-cp38-linux_x86_64.whl"
- python-version: "3.11"
os: "ubuntu-22.04"
wxpython-wheel: "ubuntu-22.04/wxPython-4.2.1-cp311-cp311-linux_x86_64.whl"
- python-version: "3.14"
os: "ubuntu-24.04"
wxpython-wheel: "ubuntu-24.04/wxpython-4.2.5-cp314-cp314-linux_x86_64.whl"
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libglib2.0-dev 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/${{ matrix.wxpython-wheel }}"
python -m pip install -r requirements.txt
- name: Perform functional tests
# Simple test that but might be enough to detect regressions
# particularly those due to wxPython versions
run: |
./pronterface.py -h
unit_test:
name: Unit testing with Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# The idea is to test:
# * The oldest supported Python (to check for regressions, testing
# suite only works on 3.11+)
# * The newest (to check current code feasibility)
# * An experimental/development version (to check future
# compatibility)
python-version: ["3.11", "3.14", "3.15"]
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install Printrun dependencies for unit testing
run: |
python -m pip install --upgrade pip
python -m pip install pyserial
- name: Perform unit tests
run: |
python -m unittest discover tests