self-hosted/unit-test.sh
Hubert Deng 8fc2933c20
Add Backup/restore scripts (#2029)
* add backup/restore scripts
* refactor utils to scripts
2023-03-17 13:52:49 -07:00

15 lines
230 B
Bash
Executable File

#!/usr/bin/env bash
FORCE_CLEAN=1 "./scripts/reset.sh"
fail=0
for test_file in _unit-test/*-test.sh; do
echo "🙈 Running $test_file ..."
$test_file
if [ $? != 0 ]; then
echo fail 👎
fail=1
fi
done
exit $fail