@@ -37,6 +37,11 @@
|
|||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
start_dir="$PWD"
|
start_dir="$PWD"
|
||||||
|
if [ -n "${GITEA_WORKSPACE:-}" ]; then
|
||||||
|
cd "$GITEA_WORKSPACE"
|
||||||
|
elif [ -n "${GITHUB_WORKSPACE:-}" ]; then
|
||||||
|
cd "$GITHUB_WORKSPACE"
|
||||||
|
fi
|
||||||
while [ ! -x ./scripts/mcp-server/run-tests.sh ]; do
|
while [ ! -x ./scripts/mcp-server/run-tests.sh ]; do
|
||||||
if [ "$PWD" = "/" ]; then
|
if [ "$PWD" = "/" ]; then
|
||||||
echo "Could not find executable scripts/mcp-server/run-tests.sh starting from $start_dir" >&2
|
echo "Could not find executable scripts/mcp-server/run-tests.sh starting from $start_dir" >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user