From 9cbd6a9643c68c73ea27115eaf891ad8299a6939 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 2649c85a5016..cadc47eaee8d 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")