upload backend logs on e2e test fail

This commit is contained in:
einhornimmond 2025-04-29 13:35:14 +02:00
parent 535e76bfef
commit 821baee54d

View File

@ -80,3 +80,10 @@ jobs:
with:
name: cypress-report-pr-#${{ steps.pr.outputs.number }}
path: /home/runner/work/gradido/gradido/e2e-tests/cypress/reports/cucumber_html_report
- name: End-to-end tests | if tests failed, upload logs
if: ${{ failure() && steps.e2e-tests.conclusion == 'failure' }}
uses: actions/upload-artifact@v4
with:
name: backend-logs-pr-#${{ steps.pr.outputs.number }}
path: /home/runner/work/gradido/gradido/logs/backend