0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-13 19:21:50 +02:00

test: unit tests moved to separate folder; scope of autouse bec_dispatcher fixture reduced only for unit tests; ci adjusted

This commit is contained in:
2024-04-15 13:54:45 +02:00
parent 4d0df364d3
commit 2446c401d9
31 changed files with 33 additions and 54 deletions

View File

@ -88,6 +88,7 @@ tests:
- apt-get install -y libgl1-mesa-glx libegl1-mesa x11-utils libxkbcommon-x11-0 libdbus-1-3
- pip install -e ./bec/bec_lib[dev]
- pip install -e .[dev]
- cd ./test/unit_tests/
- coverage run --source=./bec_widgets -m pytest -v --junitxml=report.xml --random-order --full-trace ./tests
- coverage report
- coverage xml
@ -151,8 +152,7 @@ end-2-end-conda:
- cd ../
- pip install -e .[dev]
- cd ./tests/end-2-end
- redis-server --daemonize yes
- pytest --start-servers
- pytest --start-servers --flush-redis --random-order
artifacts:
when: on_failure