ci: Install system dependencies for testing
Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
@@ -26,6 +26,8 @@ run_tests:
|
|||||||
stage: test
|
stage: test
|
||||||
image: python:3
|
image: python:3
|
||||||
script:
|
script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get -y install dbus libgirepository1.0-dev
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- PYTHONPATH=src pytest -v --junitxml=report.xml --cov=src --cov-report term --cov-report xml:coverage.xml
|
- PYTHONPATH=src pytest -v --junitxml=report.xml --cov=src --cov-report term --cov-report xml:coverage.xml
|
||||||
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||||
|
|||||||
Reference in New Issue
Block a user