Skip to content

Commit be2270e

Browse files
author
privapps
committed
2 parents 600b3ba + ca3a1cf commit be2270e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/integration/api_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ func TestChatCompletionsEndpoint(t *testing.T) {
244244

245245
// TestHeaderForwardingProxy checks correct forwarding and defaulting of Content-Type, Accept, Accept-Encoding, TE headers
246246
func TestHeaderForwardingProxy(t *testing.T) {
247+
// Skip in CI/GitHub Actions because copilotAPIBase is hardcoded and cannot be overridden
248+
// This test requires architecture changes to inject test server URL
249+
if os.Getenv("CI") != "" || os.Getenv("GITHUB_ACTIONS") != "" {
250+
t.Skip("Skipping in CI: test requires infrastructure changes to inject test server URL")
251+
}
252+
247253
// --- Setup fake upstream server to capture proxied headers ---
248254
var capturedHeaders http.Header
249255
mux := http.NewServeMux()

0 commit comments

Comments
 (0)