Commit e50288c0 authored by t's avatar t
Browse files

Set XDG_RUNTIME_DIR in gitlab-ci

parent 3d27baa3
......@@ -11,9 +11,11 @@ test Linux:
variables:
LD_LIBRARY_PATH: ${CI_PROJECT_DIR}/.tox/py36/lib/python3.6/site-packages/PySide2/Qt/plugins/platforms
DISPLAY: localhost:1
XDG_RUNTIME_DIR: /run/user/1001
script:
- echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}"
- echo "DISPLAY=${DISPLAY}"
- echo "XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR}"
- tox
tags:
- shared-linux, gui
......
......@@ -4,5 +4,7 @@ from PySide2.QtWidgets import QApplication
@pytest.fixture(scope="session")
def setup_qt():
""" Create the QT appliation"""
app = QApplication([])
return app
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment