1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-04-24 01:00:45 +02:00
This commit is contained in:
2026-03-15 13:25:42 +01:00
parent c2a6964875
commit 2d41a158bc
+9 -4
View File
@@ -49,11 +49,16 @@ jobs:
cd ../
pip install -e ./ophyd_devices -e .[dev,pyside6] -e ./bec_testing_plugin
pip install pytest-repeat
pytest -v --files-path ./ --start-servers --random-order ./tests/end-2-end/user_interaction/test_user_interaction_e2e.py
# find the logs and upload them as artifacts
mkdir -p logs
find . -type f -name "*.log" -exec cp --parents {} logs/ \;
collect_logs() {
mkdir -p logs
find . -type f -name "*.log" -exec cp --parents {} logs/ +
}
trap collect_logs EXIT
pytest -v --files-path ./ --start-servers --random-order ./tests/end-2-end/user_interaction/test_user_interaction_e2e.py
- name: Upload logs if job fails
if: failure()