Skip to content

Commit 2b1526a

Browse files
committed
add test for fix
1 parent 8e4445f commit 2b1526a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

scripts/ci_test_foundry.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ forge init --no-commit
1212
crytic-compile .
1313
if [ $? -ne 0 ]
1414
then
15-
echo "foundry test failed"
15+
echo "foundry test 1 failed"
1616
exit 255
1717
fi
18+
19+
mkdir /tmp/forge_test/test_2
20+
rsync -a --exclude='test_2' ./ /tmp/forge_test/test_2/
21+
crytic-compile ./test_2
22+
if [ $? -ne 0 ]
23+
then
24+
echo "foundry test 2 failed"
25+
exit 255
26+
fi

0 commit comments

Comments
 (0)