Get CI pipeline working with xvfb DISPLAY variable etc
pytest -k player
in branch 29- runs a test which opens a window using TK (not QT so not dependent on QT libs). But it fails in the CI because it can't open the display. I've tried setting the display to :0 and :99 in tox.ini but it still fails. Would you mind taking a look? Thanks :)
xvfb-run pytest -k player
works without a window appearing on-screen.
xvfb-run sh -c 'echo $DISPLAY'
gives the response :99
tox seems to unset DISPLAY before running pytest, and even setting it to :99 in the setenv
section fails - perhaps because of .Xauthority?
Edited by hagrid67