From da25a61a4e4a9e782275f0f62670514bd058cc34 Mon Sep 17 00:00:00 2001 From: teddy Date: Tue, 17 Sep 2024 12:30:04 -0300 Subject: [PATCH] ci: allow for testfiles to be deleted --- .../scripts/testing/test-heavy-fuzz-modified-tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/contracts-bedrock/scripts/testing/test-heavy-fuzz-modified-tests.sh b/packages/contracts-bedrock/scripts/testing/test-heavy-fuzz-modified-tests.sh index 2649c85a5016b..b7a8db6b5912a 100755 --- a/packages/contracts-bedrock/scripts/testing/test-heavy-fuzz-modified-tests.sh +++ b/packages/contracts-bedrock/scripts/testing/test-heavy-fuzz-modified-tests.sh @@ -63,6 +63,10 @@ for FILE in $CHANGED_FILES; do echo "skipping $FILE" continue fi + if [ ! -e "$FILE" ] ; then + echo "skipping $FILE since it was deleted" + continue + fi # Get the diff for the file. DIFF=$(git diff origin/develop...HEAD --unified=0 -- "$FILE")