You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, should we add some up-to-date information in the docs about how to use this module from GitHub actions with xvfb or QT_QPA_PLATFORM=offscreen ? It might be useful for newcomers. I have created two minimal examples. The first example tested the following combination:
Hi, should we add some up-to-date information in the docs about how to use this module from GitHub actions with
xvfb
orQT_QPA_PLATFORM=offscreen
? It might be useful for newcomers. I have created two minimal examples. The first example tested the following combination:here: https://github.com/hakonhagland/pytest-xvfb-test/tree/xvfb3, github actions logs: https://github.com/hakonhagland/pytest-xvfb-test/actions/runs/5632618698, and works fine. The second test uses the following combination:
QT_QPA_PLATFORM=offscreen
it also seems to work fine: source: https://github.com/hakonhagland/pytest-xvfb-test/tree/offscreen, github actions logs: https://github.com/hakonhagland/pytest-xvfb-test/actions/runs/5632807241
I tried some of the advice in the docs: https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html but was unsuccessful to get the correct combination. Then I found the actions https://github.com/tlambert03/setup-qt-libs (also mentioned in the docs) and https://github.com/aganders3/headless-gui which worked fine.
The text was updated successfully, but these errors were encountered: