mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-05 06:33:49 +00:00
debug opentui test subsets
This commit is contained in:
parent
53dd9cc462
commit
490a6ff1af
1 changed files with 12 additions and 0 deletions
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue