Add QT_QPA_PLATFORM=offscreen to GUI tests

This commit is contained in:
Miguel Jacq 2023-05-22 14:57:31 +10:00 committed by Saptak S
parent a94c7c8f92
commit 5b622b9c17
No known key found for this signature in database
GPG Key ID: 7B7F1772C0C6FCBF

View File

@ -54,4 +54,4 @@ jobs:
- run: cd desktop && poetry install
- run: |
cd desktop
QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py
QT_QPA_PLATFORM=offscreen QT_DEBUG_PLUGINS=1 xvfb-run poetry run pytest -v ./tests/test_gui_*.py