mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-17 18:35:19 +02:00
chore: update E2E tests workflow to capture logs on cancellation and add shared volume for backend services
This commit is contained in:
parent
c052fc9304
commit
315329f344
2 changed files with 9 additions and 2 deletions
4
.github/workflows/e2e-tests.yml
vendored
4
.github/workflows/e2e-tests.yml
vendored
|
|
@ -130,7 +130,7 @@ jobs:
|
|||
|
||||
# ─── Failure diagnostics ───────────────────────────────────────────
|
||||
- name: Dump backend stack logs on failure
|
||||
if: failure()
|
||||
if: ${{ failure() || cancelled() }}
|
||||
run: |
|
||||
mkdir -p ./compose-logs
|
||||
docker compose -f docker/docker-compose.e2e.yml logs --no-color --timestamps \
|
||||
|
|
@ -160,7 +160,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Upload backend stack logs
|
||||
if: failure()
|
||||
if: ${{ failure() || cancelled() }}
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: backend-stack-logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue