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
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