Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sean1588 committed Jan 16, 2025
1 parent b6f2de4 commit 141128a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/programs/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ pushd "$programs_dir"
# Choose which directories to iterate over based on TEST_MODE. We only want to test
# the new/changed directories in a pull request. Otherwise, we want to test all programs.
if [[ "$TEST_MODE" != "pull_request" ]]; then
dirs=( $(find . -maxdepth 1 -type d -not -path '*/\.*' -not -path '.') )
dirs_to_test=( $(find . -maxdepth 1 -type d -not -path '*/\.*' -not -path '.') )
fi

for dir in "${dirs[@]}"; do
for dir in "${dirs_to_test[@]}"; do
project="$(basename $dir)"

# Optionally test only selected examples by setting an ONLY_TEST="<example-path>"
Expand Down

0 comments on commit 141128a

Please sign in to comment.