From eca21fa1bf30f8f706308f3178fd8bbf2ba2126e Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Fri, 6 Dec 2024 20:23:34 +0100 Subject: [PATCH] chore(testing): add monorepo testing bin --- bin/test.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 bin/test.sh diff --git a/bin/test.sh b/bin/test.sh new file mode 100644 index 0000000000..ede2d45c40 --- /dev/null +++ b/bin/test.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +MONOREPO_TEST="framework/core extensions/akismet extensions/approval extensions/flags extensions/likes extensions/mentions extensions/nicknames extensions/statistics extensions/sticky extensions/subscriptions extensions/suspend extensions/tags extensions/messages php-packages/testing/tests" + +for test in $MONOREPO_TEST; do + echo "" + echo "===> Testing $test" + echo "" + + # composer test:setup --working-dir=$test + composer test --working-dir=$test + + echo "" + echo "===> Done testing $test" + echo "" +done