Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: skip qwen3 runner without python

[._.]/ Adam Eivy5b0eb01ab590
diff --git a/server/services/voice/tts-qwen3.test.js b/server/services/voice/tts-qwen3.test.js
index b885794209..ff1fdf2a7a 100644
--- a/server/services/voice/tts-qwen3.test.js
+++ b/server/services/voice/tts-qwen3.test.js
@@ -1,6 +1,13 @@
import { describe, it, expect } from 'vitest';
+import { resolveTestPython } from '../../lib/testHelper.js';
import { synthesizeQwen3, listQwen3Voices } from './tts-qwen3.js';
+// The runner boundary is valuable when Python is installed, but Windows CI
+// does not guarantee a Python runtime. Keep the deterministic preset test
+// available everywhere and skip only the subprocess case when no runnable
+// interpreter exists.
+const testPython = resolveTestPython();
+
describe('tts-qwen3', () => {
it('enumerates default Qwen3 voices', async () => {
const voices = await listQwen3Voices();
@@ -9,7 +16,7 @@ describe('tts-qwen3', () => {
expect(voices[0]).toHaveProperty('id');
});
- it('synthesizes speech with voice design and rate controls', async () => {
+ it.skipIf(!testPython)('synthesizes speech with voice design and rate controls', async () => {
const result = await synthesizeQwen3('This is a test of voice design synthesis.', {
mode: 'design',
instructions: 'warm low alto',