0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00

ci: testing ci

This commit is contained in:
2023-07-11 18:24:04 +02:00
parent 8be84a7ece
commit 14c59f76fb

View File

@ -36,12 +36,12 @@ pylint:
tests: tests:
stage: Unittests stage: Unittests
needs: ["formatter"] # needs: ["formatter"]
script: script:
- apt-get update - apt-get update
- apt-get install -y libgl1-mesa-glx - apt-get install -y libgl1-mesa-glx
- pip install .[dev] - pip install .[dev]
- coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --random-order ./tests - coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --random-order --full-trace ./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+)?\%)$/'