Skip to content

Commit 6ba7928

Browse files
committed
fix cts on the ci
1 parent 50ccfca commit 6ba7928

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/cts/runCts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ export async function runCts(
128128
): Promise<void> {
129129
const withBenchmarkServer =
130130
suites.benchmark && (clients.includes('search') || clients.includes('all') || languages.includes('swift'));
131-
const withClientServer =
132-
suites.client && (clients.includes('search') || clients.includes('all') || process.platform === 'darwin'); // the macos swift CI also runs the clients tests
131+
const withClientServer = suites.client;
133132
const closeTestServer = await startTestServer({
134133
...suites,
135134
benchmark: withBenchmarkServer,
@@ -142,7 +141,8 @@ export async function runCts(
142141

143142
await closeTestServer();
144143

145-
if (withClientServer) {
144+
if (withClientServer && (clients.includes('search') || clients.includes('all') || process.platform === 'darwin')) {
145+
// the macos swift CI also runs the clients tests
146146
const skip = (lang: Language): number => (languages.includes(lang) ? 1 : 0);
147147

148148
assertValidTimeouts(languages.length);

0 commit comments

Comments
 (0)