From 1f19211347483d1b48a302dc0fad650cd7fd97cb Mon Sep 17 00:00:00 2001 From: Kiran Kashyap Date: Sun, 1 Mar 2026 20:32:52 +0530 Subject: [PATCH 1/2] Add per-language install recipes (#585) --- justfile | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/justfile b/justfile index 5eea5100f..fe0246353 100644 --- a/justfile +++ b/justfile @@ -71,14 +71,34 @@ test-dotnet: @echo "=== Testing .NET code ===" @cd dotnet && dotnet test test/GitHub.Copilot.SDK.Test.csproj -# Install all dependencies -install: - @echo "=== Installing dependencies ===" - @cd nodejs && npm ci - @cd python && uv pip install -e ".[dev]" +# Install all dependencies across all languages +install: install-go install-python install-nodejs install-dotnet + @echo "✅ All dependencies installed" + +# Install Go dependencies and prerequisites for tests +install-go: install-nodejs install-test-harness + @echo "=== Installing Go dependencies ===" @cd go && go mod download + +# Install Python dependencies and prerequisites for tests +install-python: install-nodejs install-test-harness + @echo "=== Installing Python dependencies ===" + @cd python && uv pip install -e ".[dev]" + +# Install .NET dependencies and prerequisites for tests +install-dotnet: install-nodejs install-test-harness + @echo "=== Installing .NET dependencies ===" @cd dotnet && dotnet restore - @echo "✅ All dependencies installed" + +# Install Node.js dependencies +install-nodejs: + @echo "=== Installing Node.js dependencies ===" + @cd nodejs && npm ci + +# Install test harness dependencies (used by E2E tests in all languages) +install-test-harness: + @echo "=== Installing test harness dependencies ===" + @cd test/harness && npm ci # Run interactive SDK playground playground: From bc96a63c1ff502eec2a3435a5a44186a414b7574 Mon Sep 17 00:00:00 2001 From: Kiran Kashyap Date: Sun, 1 Mar 2026 21:13:04 +0530 Subject: [PATCH 2/2] fix #585 --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index fe0246353..5cc138e16 100644 --- a/justfile +++ b/justfile @@ -83,7 +83,7 @@ install-go: install-nodejs install-test-harness # Install Python dependencies and prerequisites for tests install-python: install-nodejs install-test-harness @echo "=== Installing Python dependencies ===" - @cd python && uv pip install -e ".[dev]" + @cd python && uv venv && uv pip install -e ".[dev]" # Install .NET dependencies and prerequisites for tests install-dotnet: install-nodejs install-test-harness