Skip to content

Commit 2926ba4

Browse files
committed
feat: Added a block for non-mac os systems
1 parent ca9aa24 commit 2926ba4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/orchestrators/test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { sleep } from '../utils/index.js';
1313
import { spawn, spawnSafe } from '../utils/spawn.js';
1414
import { PlanOrchestrator, PlanOrchestratorResponse } from './plan.js';
1515
import { ValidateOrchestrator } from './validate.js';
16+
import { OsUtils } from '../utils/os-utils.js';
1617

1718
export interface TestArgs {
1819
path?: string;
@@ -23,6 +24,10 @@ export interface TestArgs {
2324

2425
export const TestOrchestrator = {
2526
async run(args: TestArgs, reporter: Reporter): Promise<void> {
27+
if (!OsUtils.isMacOS()) {
28+
throw new Error('Only a MacOS host is supported currently for testing');
29+
}
30+
2631
ctx.processStarted(ProcessName.TEST);
2732
reporter.silent = true;
2833

0 commit comments

Comments
 (0)