debug: add Windows OpenTUI standalone repro
This commit is contained in:
parent
f55d8fa3ff
commit
9a72c4e337
2 changed files with 202 additions and 0 deletions
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
|
|
@ -6,6 +6,12 @@ on:
|
|||
- dev
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
windows_opentui_repro:
|
||||
description: "Run targeted Windows OpenTUI standalone crash repro"
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
concurrency:
|
||||
# Keep every run on dev so cancelled checks do not pollute the default branch
|
||||
|
|
@ -22,6 +28,7 @@ env:
|
|||
|
||||
jobs:
|
||||
unit:
|
||||
if: ${{ github.event_name != 'workflow_dispatch' || inputs.windows_opentui_repro != true }}
|
||||
name: unit (${{ matrix.settings.name }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -80,6 +87,7 @@ jobs:
|
|||
run: bun run test:httpapi
|
||||
|
||||
e2e:
|
||||
if: ${{ github.event_name != 'workflow_dispatch' || inputs.windows_opentui_repro != true }}
|
||||
name: e2e (${{ matrix.settings.name }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
|
@ -149,3 +157,29 @@ jobs:
|
|||
path: |
|
||||
packages/app/e2e/test-results
|
||||
packages/app/e2e/playwright-report
|
||||
|
||||
windows-opentui-repro:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.windows_opentui_repro == true }}
|
||||
name: windows opentui repro (${{ matrix.version }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
version: ["1.17.9", "1.17.10", "1.17.11"]
|
||||
runs-on: blacksmith-4vcpu-windows-2025
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
||||
with:
|
||||
node-version: "24.11.1"
|
||||
|
||||
- name: Run Windows standalone repro
|
||||
timeout-minutes: 12
|
||||
run: ./script/repro-windows-opentui-crash.ps1 -Version "${{ matrix.version }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue