From e71848d9966aa779d272c64c740b15c925aab363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nick=20Rosenl=C3=B6cher?= Date: Fri, 16 Oct 2026 17:32:21 +0200 Subject: [PATCH] =?UTF-8?q?test:=20eval:voice-Workflow-Pr=C3=BCfung=20nur?= =?UTF-8?q?=20im=20Monorepo=20(Backend-Image=20ohne=20.gitea)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- ApiCore-Backend/src/voice/eval/voice-eval.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ApiCore-Backend/src/voice/eval/voice-eval.spec.ts b/ApiCore-Backend/src/voice/eval/voice-eval.spec.ts index 5079a89..078acf9 100644 --- a/ApiCore-Backend/src/voice/eval/voice-eval.spec.ts +++ b/ApiCore-Backend/src/voice/eval/voice-eval.spec.ts @@ -1,4 +1,4 @@ -import { readFileSync, readdirSync } from 'node:fs'; +import { existsSync, readFileSync, readdirSync } from 'node:fs'; import { join } from 'node:path'; import { formatReport } from './eval-report'; import { loadGoldCases, parseGoldCase, type GoldCase } from './gold-case'; @@ -317,6 +317,10 @@ describe('eval:voice stays out of CI', () => { '.gitea', 'workflows', ); + // The backend image builds without the repo root: nothing to check there. + if (!existsSync(workflows)) { + return; + } const files = readdirSync(workflows).filter((name) => /\.ya?ml$/.test(name), );