Skip to content

Commit eb927fa

Browse files
committed
chore(dev): run WebUI tests as pre-push check
1 parent b68a220 commit eb927fa

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.husky/pre-push

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
set -eu
44

5+
if ! make webui-test
6+
then
7+
echo "There are some WebUI test issues."
8+
exit 1
9+
fi
10+
511
if ! cargo sqlx prepare --check
612
then
713
echo "Database schema snapshot should be updated."
@@ -24,7 +30,7 @@ fi
2430

2531
if ! cargo test
2632
then
27-
echo "There are some test issues."
33+
echo "There are some API test issues."
2834
exit 1
2935
fi
3036

0 commit comments

Comments
 (0)