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