Skip to content

Commit

Permalink
bail if the script doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Feb 9, 2024
1 parent d019a3e commit 0be1cbc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/bin/run-local-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ set -ex
chmod +x "$GITHUB_WORKSPACE"/bin/*.sh
echo "Testing latest install..."
mkdir -p "$GITHUB_WORKSPACE"/local_tests

if [ -f "$GITHUB_WORKSPACE"/test_proj/bin/install-local-tests.sh ]; then
echo "install-local-tests.sh exists, proceeding"
else
echo "install-local-tests.sh does not exist"
ls -la "$GITHUB_WORKSPACE"
exit 1
fi

"$GITHUB_WORKSPACE"/test_proj/bin/install-local-tests.sh --dbpass=root --tmpdir="$GITHUB_WORKSPACE"/local_tests

echo "Testing nightly install..."
Expand Down

0 comments on commit 0be1cbc

Please sign in to comment.