mirror of
https://github.com/flarum/framework.git
synced 2025-02-22 07:58:30 +08:00
chore(testing): add monorepo testing bin
This commit is contained in:
parent
c835bdb59a
commit
eca21fa1bf
16
bin/test.sh
Normal file
16
bin/test.sh
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user