Skip to content

Commit 6f28283

Browse files
committed
Run all tests on CI
1 parent b4b5bf0 commit 6f28283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function runConsoleTests(runJs, defaultReporter, runInParallel, watchMode,
3131
const inspect = cmdLineOptions.inspect;
3232
const runners = cmdLineOptions.runners;
3333
const light = cmdLineOptions.light;
34-
const skipPercent = cmdLineOptions.skipPercent;
34+
const skipPercent = process.env.CI === "true" ? 0 : cmdLineOptions.skipPercent;
3535
const stackTraceLimit = cmdLineOptions.stackTraceLimit;
3636
const testConfigFile = "test.config";
3737
const failed = cmdLineOptions.failed;
@@ -63,7 +63,7 @@ async function runConsoleTests(runJs, defaultReporter, runInParallel, watchMode,
6363
testTimeout = 400000;
6464
}
6565

66-
if (tests || runners || light || testTimeout || taskConfigsFolder || keepFailed || skipPercent) {
66+
if (tests || runners || light || testTimeout || taskConfigsFolder || keepFailed || skipPercent !== undefined) {
6767
writeTestConfigFile(tests, runners, light, skipPercent, taskConfigsFolder, workerCount, stackTraceLimit, testTimeout, keepFailed);
6868
}
6969

0 commit comments

Comments
 (0)