...5
Some checks failed
MCP Tests / mcp-tests (push) Failing after 13s

This commit is contained in:
Danilo Reyes
2026-02-08 15:11:59 -06:00
parent 67119653b5
commit 6d29835303
2 changed files with 5 additions and 3 deletions

View File

@@ -31,5 +31,5 @@ jobs:
- name: Run MCP lint/format/tests via nix-shell - name: Run MCP lint/format/tests via nix-shell
run: | run: |
cd "${GITEA_WORKSPACE:-${GITHUB_WORKSPACE:-$PWD}}" repo_root="$PWD"
nix run .#mcp-tests MCP_TESTS_WORKDIR="$repo_root" nix run .#mcp-tests

View File

@@ -37,7 +37,9 @@
]; ];
text = '' text = ''
start_dir="$PWD" start_dir="$PWD"
if [ -n "''${GITEA_WORKSPACE:-}" ]; then if [ -n "''${MCP_TESTS_WORKDIR:-}" ]; then
cd "''${MCP_TESTS_WORKDIR}"
elif [ -n "''${GITEA_WORKSPACE:-}" ]; then
cd "''${GITEA_WORKSPACE}" cd "''${GITEA_WORKSPACE}"
elif [ -n "''${GITHUB_WORKSPACE:-}" ]; then elif [ -n "''${GITHUB_WORKSPACE:-}" ]; then
cd "''${GITHUB_WORKSPACE}" cd "''${GITHUB_WORKSPACE}"