Skip to content

Commit 5a88175

Browse files
authored
Merge pull request mottosso#394 from zoshua/squash
Added PySide6 Support (squash)
2 parents 57b02be + 25e117d commit 5a88175

File tree

5 files changed

+377
-155
lines changed

5 files changed

+377
-155
lines changed

.github/workflows/pyside6.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Run PySide6 Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
pull_request:
8+
branches:
9+
- "*"
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-22.04
14+
15+
env:
16+
QT_PREFERRED_BINDING: PySide6
17+
QT_QPA_PLATFORM: minimal
18+
QT_VERBOSE: 1
19+
PYTHONPATH: "${{ github.workspace }}"
20+
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v4
24+
25+
- name: Install EGL mesa
26+
run: |
27+
sudo apt-get update -y -qq
28+
sudo apt-get install -y -qq libegl1-mesa libegl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev
29+
30+
- name: Install GUI libs
31+
run: |
32+
sudo apt-get install -y -qq libxcb-xinerama0
33+
sudo apt-get install -y -qq libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xfixes0 libxcb-cursor0
34+
35+
- name: Pip install .
36+
run: |
37+
python3.10 -m pip install .
38+
39+
- name: Pip install PySide6 and dependencies
40+
run: |
41+
python3.10 -m pip install PySide6 nose2 nosepipe six packaging setuptools wheel
42+
43+
- name: Testing implementation..
44+
run: |
45+
python3.10 -m nose2 --verbose tests
46+
47+
- name: Building caveats..
48+
run: |
49+
python3.10 -u build_caveats.py
50+
51+
- name: Testing caveats..
52+
run: |
53+
python3.10 -m nose2 --verbose test_caveats
54+
55+
- name: Testing examples..
56+
run: |
57+
python3.10 -m nose2 --verbose examples.loadUi.baseinstance1
58+
python3.10 -m nose2 --verbose examples.QtSiteConfig.main

0 commit comments

Comments
 (0)