Skip to content

Commit cc613a9

Browse files
committed
ci: Add an ARM Linux test workflow
Like the macOS jobs are mixed between Intel and ARM, this changes one of the Linux jobs to use ARM.
1 parent 3b54c6a commit cc613a9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/tests.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
# https://bugreports.qt.io/projects/PYSIDE/issues/PYSIDE-2346
7979
pyside6-ver: '!=6.5.1'
8080
extra-requirements: '-r requirements/testing/extra.txt'
81-
- os: ubuntu-22.04
81+
- os: ubuntu-22.04-arm
8282
python-version: '3.12'
8383
# https://www.riverbankcomputing.com/pipermail/pyqt/2023-November/045606.html
8484
pyqt6-ver: '!=6.6.0'
@@ -282,10 +282,13 @@ jobs:
282282
echo 'PyGObject 3 is available' || echo 'PyGObject 3 is not available'
283283
)
284284
285-
python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
286-
python -c 'import PyQt5.QtCore' &&
287-
echo 'PyQt5 is available' ||
288-
echo 'PyQt5 is not available'
285+
# PyQt5 does not have any wheels for ARM on Linux.
286+
if [[ "${{ matrix.os }}" != 'ubuntu-20.04-arm' ]]; then
287+
python -mpip install --upgrade pyqt5${{ matrix.pyqt5-ver }} &&
288+
python -c 'import PyQt5.QtCore' &&
289+
echo 'PyQt5 is available' ||
290+
echo 'PyQt5 is not available'
291+
fi
289292
# Even though PySide2 wheels can be installed on Python 3.12+, they are broken and since PySide2 is
290293
# deprecated, they are unlikely to be fixed. For the same deprecation reason, there are no wheels
291294
# on M1 macOS, so don't bother there either.

0 commit comments

Comments
 (0)