From c0d22ef86095154fdb769a54d65fe454cda4c87c Mon Sep 17 00:00:00 2001 From: Soren Rasmussen Date: Wed, 8 May 2024 13:48:05 -0600 Subject: [PATCH] Adding path information if no plots found --- tests/local/utils/attach_all_plots.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/local/utils/attach_all_plots.bash b/tests/local/utils/attach_all_plots.bash index 2b11d5deb..fa91c5fca 100644 --- a/tests/local/utils/attach_all_plots.bash +++ b/tests/local/utils/attach_all_plots.bash @@ -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 @@ -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 \ No newline at end of file +done