mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
ci: add job logs to e2e test
This commit is contained in:
8
.github/workflows/end2end-conda.yml
vendored
8
.github/workflows/end2end-conda.yml
vendored
@ -48,3 +48,11 @@ jobs:
|
|||||||
cd ../
|
cd ../
|
||||||
pip install -e ./ophyd_devices -e .[dev,pyside6] -e ./bec_testing_plugin
|
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
|
Reference in New Issue
Block a user