Skip to content

Commit

Permalink
updating scripts to work with new Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed May 22, 2024
1 parent 5e309a3 commit 675de87
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/local/utils/attach_all_plots.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ REPO=NCAR/wrf_hydro_nwm_public

cd $diffs

for d in `ls -1`
do
if [[ -d $d && `ls -1 $d` ]]; then
python $cwd/attach_plots_to_pr.py -r $REPO -p $PR -d -t "$TOKEN" --title "$title" $d/*
fi
done
# if $diffs directory is not empty, attach files in it
if [[ `ls -1 ./` ]]
then
python $cwd/attach_plots_to_pr.py -r $REPO -p $PR -d -t "$TOKEN" --title "$title" ./*
fi

0 comments on commit 675de87

Please sign in to comment.