Added PySide6 Support (squash) #26
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: Run PySide6 Tests | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
env: | |
QT_PREFERRED_BINDING: PySide6 | |
PYTHONPATH: "${{ github.workspace }}" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install GUI libs | |
run: | | |
sudo apt-get install -y -qq libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 | |
sudo apt-get install -y -qq libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libegl1 libglib2.0-0 l | |
sudo apt-get install -y -qq ibxkbcommon-x11-0 libdbus-1-3 libpulse0 libxcb-cursor0 libxcb-shape0 | |
- 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: | | |
cd examples | |
python3.10 -m nose2 --verbose loadUi.baseinstance1 | |
python3.10 -m nose2 --verbose loadUi.baseinstance2 | |
python3.10 -m nose2 --verbose QtSiteConfig.main | |
cd .. |