Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ on:

jobs:
test:
runs-on: windows-latest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
env:
# Display must be available globally for linux to know where xvfb is
DISPLAY: ":99.0"
QT_SELECT: "qt6"

steps:
- uses: actions/checkout@v5
Expand All @@ -38,6 +42,15 @@ jobs:
cache: "poetry"
cache-dependency-path: poetry.lock

- name: Install system dependencies
run: |
sudo apt-get update
# from https://stackoverflow.com/questions/60692711
sudo apt-get install -y xvfb libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 libxcb-shape0 libglib2.0-0 libgl1-mesa-dev
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
# start xvfb in the background
sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 &

- name: Install dependencies
run: poetry install --without docs

Expand Down