chore: fix fetching of test files

This commit is contained in:
Chirag Aggarwal
2025-01-28 17:16:35 +00:00
parent c01f67f44f
commit c2aff2c2cb
+2 -1
View File
@@ -182,7 +182,7 @@ jobs:
TEST_SUFFIXES=${{ matrix.test_suffix }}
TEST_FOLDER="/usr/src/code/tests/e2e/Services/${{ matrix.service }}"
ALL_TEST_FILES=$(find "$TEST_FOLDER" -type f -name "*Test.php")
ALL_TEST_FILES=$(docker compose exec -T appwrite find "$TEST_FOLDER" -type f -name "*Test.php")
for TEST_FILE in $ALL_TEST_FILES; do
SUFFIX=$(echo "$TEST_FILE" | grep -oE '(CustomClient|CustomServer|ConsoleClient)Test\.php$' | sed 's/Test\.php$//')
@@ -193,6 +193,7 @@ jobs:
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
appwrite test "$TEST_FILE" --debug
fi
else
docker compose exec -T \
-e _APP_DATABASE_SHARED_TABLES \