Skip to content

Commit 4e945f3

Browse files
committed
github-ci: Run PyPI package test on AArch64 and Ubuntu 24.04
This will catch any issues with AArch64 packages like the one that recently occured with 0.14.1.
1 parent 0b530df commit 4e945f3

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ubuntu_pypi_test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Install package from PyPI and run unit tests on Ubuntu 20.04
2+
name: Install package from PyPI and run unit tests
33
on:
44
workflow_dispatch:
55
inputs:
@@ -8,19 +8,21 @@ on:
88

99
jobs:
1010
run:
11-
name: Install from PyPI and run unit tests
12-
runs-on: ubuntu-22.04
11+
name: Install PyPI binary package and run unit tests
12+
strategy:
13+
matrix:
14+
ubuntu_version: ["ubuntu-22.04", "ubuntu-24.04", "ubuntu-22.04-arm", "ubuntu-24.04-arm"]
15+
runs-on: ${{ matrix.ubuntu_version }}
1316
steps:
1417
- name: Checkout
1518
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
1619
- name: Install dependencies
1720
run: |
1821
sudo apt update
19-
sudo apt install python3-setuptools \
20-
systemd dbus python3 python3-pip python3-jinja2
22+
sudo apt install dbus python3 python3-pip
2123
- name: Install package
2224
run: |
23-
sudo pip3 install "sdbus ${SDBUS_VERSION}"
25+
sudo pip3 install --break-system-packages --only-binary ':all:' "sdbus ${SDBUS_VERSION}"
2426
env:
2527
SDBUS_VERSION: ${{ inputs.pypi_version }}
2628
- name: List package

0 commit comments

Comments
 (0)