File tree Expand file tree Collapse file tree 5 files changed +377
-155
lines changed
Expand file tree Collapse file tree 5 files changed +377
-155
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments