Skip to content

Commit

Permalink
Adding path information if no plots found
Browse files Browse the repository at this point in the history
  • Loading branch information
scrasmussen committed May 8, 2024
1 parent 41e38d8 commit c0d22ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/local/utils/attach_all_plots.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cwd=`pwd`
diffs=$GITHUB_WORKSPACE/test_report/$CONFIG/diff_plots

if [[ ! -d $diffs ]]; then
echo "No diff plots to attach!"
echo "No diff plots to attach at ${diffs}!"
exit 0
fi

Expand All @@ -24,6 +24,6 @@ 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/*
python $cwd/attach_plots_to_pr.py -r $REPO -p $PR -d -t "$TOKEN" --title "$title" $d/*
fi
done
done

0 comments on commit c0d22ef

Please # to comment.