Skip to content

Commit

Permalink
chore: add condition to check if directory exist
Browse files Browse the repository at this point in the history
  • Loading branch information
devworlds committed Jan 6, 2025
1 parent 8d3bd0b commit e70f161
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/workflows/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e70f161

Please sign in to comment.