framework/bin/test.sh
Sami Mazouz eca21fa1bf
Some checks are pending
Backend Tests / run (push) Waiting to run
Frontend Workflow / run (push) Waiting to run
Static Code Analysis / run (push) Waiting to run
chore(testing): add monorepo testing bin
2024-12-06 20:23:34 +01:00

17 lines
525 B
Bash

#!/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