diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3eae7f..3b9b96e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,4 +50,4 @@ jobs: - name: Go test working-directory: codeagent-wrapper - run: go test ./... + run: go test -short ./... diff --git a/codeagent-wrapper/main_test.go b/codeagent-wrapper/main_test.go index 4aa5b04..2f1da9e 100644 --- a/codeagent-wrapper/main_test.go +++ b/codeagent-wrapper/main_test.go @@ -900,6 +900,9 @@ func TestRunCodexTask_ContextTimeout(t *testing.T) { } func TestRunCodexTask_ForcesStopAfterCompletion(t *testing.T) { + if testing.Short() { + t.Skip("skipping timing-sensitive integration test in short mode") + } defer resetTestHooks() forceKillDelay.Store(0) @@ -936,6 +939,9 @@ func TestRunCodexTask_ForcesStopAfterCompletion(t *testing.T) { } func TestRunCodexTask_DoesNotTerminateBeforeThreadCompleted(t *testing.T) { + if testing.Short() { + t.Skip("skipping timing-sensitive integration test in short mode") + } defer resetTestHooks() forceKillDelay.Store(0)