Skip to content

Commit

Permalink
MAINT: PySide6 6.5 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Apr 4, 2023
1 parent 8b39741 commit 29ca670
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ jobs:
qt: [""]
include:
- os: ubuntu-latest
qt: "qt"
qt: "pyqt5"
- os: ubuntu-latest
qt: "pyqt6"
- os: ubuntu-latest
qt: "pyside6"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -29,7 +33,7 @@ jobs:
- name: Test Action
uses: ./
with:
qt: ${{ matrix.qt == 'qt' }}
qt: ${{ matrix.qt != '' }}

- name: Setup Python
uses: actions/setup-python@v1
Expand All @@ -51,10 +55,10 @@ jobs:
run: python -c "import pyvista;pyvista.Cube().plot(screenshot='${{ matrix.os }}-cube.png')"

- name: Test Qt
if: matrix.qt == 'qt'
if: matrix.qt != ''
run: |
set -eo pipefail
pip install PyQt6 matplotlib
pip install ${{ matrix.qt }} matplotlib
QT_DEBUG_PLUGINS=1 LIBGL_DEBUG=verbose python tests/test_qt.py
shell: bash

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
- name: Install Linux Qt dependencies
if: runner.os == 'Linux' && inputs.qt != 'false'
shell: bash
run: sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils libxcb-shape0
run: sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0 libegl1 libosmesa6 mesa-utils libxcb-shape0 libxcb-cursor0

- name: Install Windows GL Dependencies
if: runner.os == 'Windows'
Expand Down

0 comments on commit 29ca670

Please sign in to comment.