File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ jobs:
149149 # -crt-static: vite-task is shipped as a NAPI module in vite+, and musl Node
150150 # with native modules links to musl libc dynamically, so we must do the same.
151151 RUSTFLAGS : --cfg tokio_unstable -D warnings -C target-feature=-crt-static
152+ # On musl, concurrent PTY operations can trigger SIGSEGV in musl internals.
153+ # Run test threads sequentially to avoid the race.
154+ RUST_TEST_THREADS : 1
152155 steps :
153156 - name : Install Alpine dependencies
154157 shell : sh {0}
@@ -172,14 +175,7 @@ jobs:
172175 corepack enable
173176 pnpm install
174177
175- # Use cargo-nextest: it runs each test in its own process, avoiding
176- # musl's fork()-in-multithreaded-process SIGSEGV while keeping parallel
177- # execution (across processes instead of threads within one process).
178- # Exclude packages with custom test harnesses (harness = false) since
179- # nextest can't discover their tests; run those with cargo test instead.
180- - run : cargo install cargo-nextest --locked
181- - run : cargo nextest run --workspace --exclude vite_task_bin --exclude vite_task_plan
182- - run : cargo test -p vite_task_bin -p vite_task_plan
178+ - run : cargo test
183179
184180 fmt :
185181 name : Format and Check Deps
You can’t perform that action at this time.
0 commit comments