diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97195ad..5f3f3e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,22 +5,24 @@ tests: stage: Test variables: QT_QPA_PLATFORM: "offscreen" + script: - pip install pytest pytest-random-order pytest-cov - pip install -e ./ + - pip install PyQtWebEngine + - apt-get update - apt-get install ffmpeg libsm6 libxext6 libxkbcommon-x11-0 -y - apt-get install libxcb-xinerama0 -y - - python -m unittest discover -f ./tests - coverage run --source=./grum -m unittest discover -f ./tests - coverage report - coverage xml - coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: reports: cobertura: coverage.xml +