Skip to content

Commit 8dd33c8

Browse files
committed
Enforces code formatting check before running tests
because it frequently gets broken in main. (#4563)
1 parent f4a7ebd commit 8dd33c8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/docker/run-unit-tests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
pnpm run test;
1+
(
2+
set -e
3+
pnpm run pretty:check
4+
pnpm run test
5+
);
26
EXIT_CODE=$?;
37
if [[ "$EXIT_CODE" == "0" ]]; then
48
kill -s SIGINT `cat /var/run/supervisor/supervisord.pid`;

0 commit comments

Comments
 (0)