diff --git a/.github/workflows/end2end-conda.yml b/.github/workflows/end2end-conda.yml index 40db90f1..079f3b6c 100644 --- a/.github/workflows/end2end-conda.yml +++ b/.github/workflows/end2end-conda.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file