chore: added grouping of devkeys in ci

This commit is contained in:
Chirag Aggarwal
2025-01-30 11:48:43 +00:00
parent 23111d26c4
commit 5a1ad4d5ae
+14 -8
View File
@@ -166,14 +166,20 @@ jobs:
export _APP_DATABASE_SHARED_TABLES_V1=
fi
for test_file in /usr/src/code/tests/e2e/Services/${{ matrix.service }}/*Test.php; do
if [[ "$test_file" != *CustomClientTest.php ]]; then
docker compose exec -T \
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
appwrite test "$test_file" --debug
fi
done
docker compose exec -T \
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --exclude=devKeys
if [ "${{ matrix.service }}" == "Projects" ]; then
export _APP_OPTIONS_ABUSE=enabled
docker compose exec -T \
-e _APP_OPTIONS_ABUSE \
-e _APP_DATABASE_SHARED_TABLES \
-e _APP_DATABASE_SHARED_TABLES_V1 \
appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug --group=devKeys
fi
benchmarking:
name: Benchmark