cicd fix
This commit is contained in:
@@ -36,10 +36,14 @@
|
|||||||
ruff
|
ruff
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
if [ ! -x ./scripts/mcp-server/run-tests.sh ]; then
|
start_dir="$PWD"
|
||||||
echo "Expected ./scripts/mcp-server/run-tests.sh to be executable from repo root." >&2
|
while [ ! -x ./scripts/mcp-server/run-tests.sh ]; do
|
||||||
|
if [ "$PWD" = "/" ]; then
|
||||||
|
echo "Could not find executable scripts/mcp-server/run-tests.sh starting from $start_dir" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
exec bash ./scripts/mcp-server/run-tests.sh "$@"
|
exec bash ./scripts/mcp-server/run-tests.sh "$@"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user