test: eval:voice-Workflow-Prüfung nur im Monorepo (Backend-Image ohne .gitea)
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
d8238855fc
commit
e71848d996
1 file changed
+5
-1
@@ -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),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user