mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: fix fetching of test files
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user