From 490a6ff1af9db062c47a5d2e29ba930bddcbc295 Mon Sep 17 00:00:00 2001 From: Sebastian Herrlinger Date: Sat, 16 May 2026 14:12:19 +0200 Subject: [PATCH] debug opentui test subsets --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 967c4e11d..c16d0e9c6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -77,6 +77,18 @@ jobs: echo "dialog-prompt targeted run $i" bun test --timeout 30000 test/cli/tui/dialog-prompt.test.tsx done + set +e + run_case() { + name="$1" + shift + echo "OpenTUI subset diagnostics: $name" + bun test --timeout 30000 "$@" + code=$? + echo "OpenTUI subset diagnostics exit code for $name: $code" + } + run_case "cli/run + dialog" test/cli/run test/cli/tui/dialog-prompt.test.tsx + run_case "cli/cmd/tui + cli/run + dialog" test/cli/cmd/tui test/cli/run test/cli/tui/dialog-prompt.test.tsx + run_case "cli + dialog" test/cli test/cli/tui/dialog-prompt.test.tsx - name: Run unit tests run: bun turbo test:ci