Automating Unit Testing In Pyqt5 Using Gitlab's Ci: Qxcbconnection Error
I am creating a GUI skeleton (for now) using PyQt5 and I have written some unit tests (using Python's unittest package) for testing its basic features. While trying to automate the
Solution 1:
You can try setting the backend used by Qt to "offscreen" by setting the env var QT_QPA_PLATFORM in your .yml file.
job1:
stage: test
variables:
QT_QPA_PLATFORM: "offscreen"
script: python3 -m unittest -v test.GuiTest
Post a Comment for "Automating Unit Testing In Pyqt5 Using Gitlab's Ci: Qxcbconnection Error"