From 52f26d12ff11e8a773cb886daea82b16c181f135 Mon Sep 17 00:00:00 2001 From: Klaus Wakonig Date: Tue, 11 Jul 2023 18:33:19 +0200 Subject: [PATCH] ci: testing ci --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d85d9a47..02b53f28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,12 +36,14 @@ pylint: tests: stage: Unittests - # needs: ["formatter"] + needs: [] + variables: + QT_QPA_PLATFORM: "offscreen" script: - apt-get update - - apt-get install -y libgl1-mesa-glx x11-utils libxkbcommon-x11-0 xvfb + - apt-get install -y libgl1-mesa-glx x11-utils libxkbcommon-x11-0 - pip install .[dev] - - xvfb-run coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --random-order --full-trace ./tests + - coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --random-order --full-trace ./tests - coverage report - coverage xml coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'