bugfix: Explicitly take out an old tab widget from layout (#751) #249
This file contains hidden or 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
# Veusz build using PyPI packages on Ubuntu | |
name: Ubuntu build using pip packages | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.13 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- name: Upgrade pip | |
run : | | |
python -V | |
python -m pip install --upgrade pip | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
cache: 'true' | |
cache-key-prefix: 'qt-ubuntu-v3' | |
version: '6.9.0' | |
setup-python: false | |
- name: Install Python dependencies | |
run: | | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: Build extensions | |
run: | | |
python setup.py build_ext --inplace | |
- name: Run tests | |
env: | |
LD_LIBRARY_PATH: ${{ env.QT_ROOT_DIR }}/lib:{{ env.LD_LIBRARY_PATH }} | |
QT_QPA_PLATFORM: minimal | |
VEUSZ_INPLACE_TEST: 1 | |
run: | | |
tests/runselftest.py |