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

ci: add job logs to e2e test

This commit is contained in:
2025-05-30 17:10:03 +02:00
committed by Jan Wyzula
parent d0c1ac0cf5
commit d12bd9fe1a

View File

@ -47,4 +47,12 @@ jobs:
source ./bin/install_bec_dev.sh -t
cd ../
pip install -e ./ophyd_devices -e .[dev,pyside6] -e ./bec_testing_plugin
pytest -v --files-path ./ --start-servers --random-order ./tests/end-2-end
pytest -v --files-path ./ --start-servers --random-order ./tests/end-2-end
- name: Upload logs if job fails
if: failure()
uses: actions/upload-artifact@v3
with:
name: pytest-logs
path: ./logs/*.log
retention-days: 7