added PyQtWebEngine installation

This commit is contained in:
2023-01-24 15:20:45 +01:00
parent 1bb9ebb4ae
commit d75296edb1

View File

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