silx.gui
, silx view: Updated default Qt binding to Pyside6
; CI: Updated config
#1673
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }} ${{ matrix.QT_API }}" | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-20.04 | |
python-version: "3.8" | |
QT_API: PyQt5 | |
with_opencl: false | |
- os: ubuntu-latest | |
python-version: "3.11" | |
QT_API: PyQt6 | |
with_opencl: true | |
- os: ubuntu-latest | |
python-version: "3.12" | |
QT_API: PySide6 | |
with_opencl: true | |
- os: macos-13 | |
python-version: "3.10" | |
QT_API: PyQt5 | |
with_opencl: true | |
- os: macos-13 | |
python-version: "3.12" | |
QT_API: PyQt6 | |
with_opencl: true | |
- os: macos-13 | |
python-version: "3.9" | |
QT_API: PySide6 | |
with_opencl: true | |
- os: windows-latest | |
python-version: "3.9" | |
QT_API: PyQt5 | |
with_opencl: false | |
- os: windows-latest | |
python-version: "3.12" | |
QT_API: PyQt6 | |
with_opencl: false | |
- os: windows-latest | |
python-version: "3.10" | |
QT_API: PySide6 | |
with_opencl: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: "pip" | |
- uses: ./.github/actions/setup-system | |
- name: Install build dependencies | |
run: | | |
pip install --upgrade --pre build cython setuptools wheel | |
pip list | |
- name: Build | |
env: | |
MACOSX_DEPLOYMENT_TARGET: "10.9" | |
run: | | |
python -m build --no-isolation | |
ls dist | |
- name: Install | |
run: | | |
pip install -r ci/requirements-pinned.txt | |
pip install --pre "${{ matrix.QT_API }}" | |
pip install --pre "$(ls dist/silx*.whl)[full,test]" | |
python ./ci/info_platform.py | |
pip list | |
- name: Test | |
env: | |
QT_API: ${{ matrix.QT_API }} | |
SILX_TEST_LOW_MEM: "False" | |
SILX_OPENCL: ${{ matrix.with_opencl && 'True' || 'False' }} | |
run: | | |
python -c "import silx.test, sys; sys.exit(silx.test.run_tests(verbosity=1, args=['--qt-binding=${{ matrix.QT_API }}']));" |