Skip to content

Commit

Permalink
Created screenshot folder in beforehand
Browse files Browse the repository at this point in the history
  • Loading branch information
Talank committed Mar 15, 2022
1 parent 94a3d78 commit f85f534
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ def setGuiTestReportDir():
"commands": [
"mkdir %s" % GUI_TEST_REPORT_DIR,
"chmod ugo+rwx %s" % GUI_TEST_REPORT_DIR,
"mkdir %s/screenshots" % GUI_TEST_REPORT_DIR,
"chmod ugo+rwx %s/screenshots" % GUI_TEST_REPORT_DIR,
],
}]

Expand Down
1 change: 1 addition & 0 deletions test/gui/drone/comment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ else

if ! [[ $(find $1/screenshots -maxdepth 0 -empty) ]]; then
echo "creating comment for screenshots"
echo $(ls $1/screenshots)
echo "Screenshots: (${CACHE_ENDPOINT}/${CACHE_BUCKET}/$2/$3/guiReportUpload/screenshots)" >> $1/comments.file
fi
fi

0 comments on commit f85f534

Please sign in to comment.