From e70f161a36394910276a9aba59310cd980415fdc Mon Sep 17 00:00:00 2001 From: devworlds Date: Mon, 6 Jan 2025 12:03:13 -0300 Subject: [PATCH] chore: add condition to check if directory exist --- scripts/workflows/test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/workflows/test.sh b/scripts/workflows/test.sh index 3d3afe9511..c6e9bc7fd5 100755 --- a/scripts/workflows/test.sh +++ b/scripts/workflows/test.sh @@ -22,7 +22,12 @@ if [ "$CI_OS" == "ubuntu-latest" ]; then else echo "Skipping fuzz test on $CI_OS - not supported" fi -cd utils/buffer/fuzz || exit + +if [ -d "utils/buffer/fuzz" ]; then + cd utils/buffer/fuzz || exit +else + echo "Directory 'utils/buffer/fuzz' not found. Skipping..." +fi cargo test --manifest-path=benches/Cargo.toml cargo test --manifest-path=common/Cargo.toml