diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f8080781991f1db1376eb5b17b0f71db76691e7..7ab3f3d4ad9f5cd94a1b1eed146bcf2539829697 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,9 +4,10 @@ stages:
 before_script:
   - apt-get update --yes
   - apt-get install --yes build-essential cmake libfmt-dev pybind11-dev
+  - apt-get install --yes xvfb qt5-default
   - python -m pip install --upgrade pip
   - python --version
-  - pip install pytest pytest-cov
+  - pip install pytest pytest-cov pytest-xvfb pytest-qt
   - pip install .
   - pip show b_asic