From 0d1a6e07b4757b8465a465381e3d6475625fdeb8 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 18 Feb 2026 20:30:48 +1300 Subject: [PATCH] fix: use relative path for --log-junit so retry action can find JUnit XML The retry action couldn't extract the container name from docker compose exec commands to copy the JUnit XML. Using a relative path works because CWD inside the container is /usr/src/code and the volume mount ./tests:/usr/src/code/tests makes the file accessible at the same relative path on both container and host. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6433b2eee9..0b322337cc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -282,7 +282,7 @@ jobs: -e _APP_DB_PORT="${{ env._APP_DB_PORT }}" \ -e _APP_DB_SCHEMA=appwrite \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit /usr/src/code/tests/e2e/Services/${{ matrix.service }}/junit.xml + appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml - name: Failure Logs if: failure() @@ -380,7 +380,7 @@ jobs: -e _APP_DATABASE_SHARED_TABLES \ -e _APP_DATABASE_SHARED_TABLES_V1 \ -e _APP_E2E_RESPONSE_FORMAT="${{ github.event.inputs.response_format }}" \ - appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit /usr/src/code/tests/e2e/Services/${{ matrix.service }}/junit.xml + appwrite vendor/bin/paratest --processes $(nproc) --functional "$SERVICE_PATH" --exclude-group abuseEnabled --exclude-group screenshots --log-junit tests/e2e/Services/${{ matrix.service }}/junit.xml - name: Failure Logs if: failure()