mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Python: Fix tests in the CI having difficulties connecting to Xvfb
Instead of connecting to the X server, let's run the Python tests with the testing backend, like we do for test-driver-rust, test-driver-cpp, etc. When building the Python package, pass --features backend-testing to Cargo, to forward to enabling the backend-testing feature in i-slint-backend-selector. That consequently enables SLINT_BACKEND=testing.
This commit is contained in:
parent
af0b3822c6
commit
d903afecef
4 changed files with 8 additions and 4 deletions
|
|
@ -32,6 +32,7 @@ backend-winit-x11 = ["slint-interpreter/backend-winit-x11"]
|
|||
backend-winit-wayland = ["slint-interpreter/backend-winit-wayland"]
|
||||
backend-linuxkms = ["slint-interpreter/backend-linuxkms"]
|
||||
backend-linuxkms-noseat = ["slint-interpreter/backend-linuxkms-noseat"]
|
||||
backend-testing = ["i-slint-backend-selector/backend-testing"]
|
||||
renderer-femtovg = ["slint-interpreter/renderer-femtovg"]
|
||||
renderer-femtovg-wgpu = ["slint-interpreter/renderer-femtovg-wgpu"]
|
||||
renderer-skia = ["slint-interpreter/renderer-skia"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue