diff --git a/.buildkite/ci.mjs b/.buildkite/ci.mjs index a4af8802b722a8..93bf9c00bc83e0 100755 --- a/.buildkite/ci.mjs +++ b/.buildkite/ci.mjs @@ -140,11 +140,7 @@ const testPlatforms = [ { os: "linux", arch: "aarch64", abi: "musl", distro: "alpine", release: "3.20", tier: "latest" }, { os: "linux", arch: "x64", abi: "musl", distro: "alpine", release: "3.20", tier: "latest" }, { os: "linux", arch: "x64", abi: "musl", baseline: true, distro: "alpine", release: "3.20", tier: "latest" }, - { os: "windows", arch: "x64", release: "2025", tier: "latest" }, - { os: "windows", arch: "x64", release: "2022", tier: "previous" }, { os: "windows", arch: "x64", release: "2019", tier: "oldest" }, - { os: "windows", arch: "x64", release: "2025", baseline: true, tier: "latest" }, - { os: "windows", arch: "x64", release: "2022", baseline: true, tier: "previous" }, { os: "windows", arch: "x64", release: "2019", baseline: true, tier: "oldest" }, ]; @@ -1054,17 +1050,19 @@ async function getPipeline(options = {}) { ); } - const { skipTests, forceTests, unifiedTests, testFiles } = options; - if (!skipTests || forceTests) { - steps.push( - ...testPlatforms - .flatMap(platform => buildProfiles.map(profile => ({ ...platform, profile }))) - .map(target => ({ - key: getTargetKey(target), - group: getTargetLabel(target), - steps: [getTestBunStep(target, { unifiedTests, testFiles, buildId })], - })), - ); + if (!isMainBranch()) { + const { skipTests, forceTests, unifiedTests, testFiles } = options; + if (!skipTests || forceTests) { + steps.push( + ...testPlatforms + .flatMap(platform => buildProfiles.map(profile => ({ ...platform, profile }))) + .map(target => ({ + key: getTargetKey(target), + group: getTargetLabel(target), + steps: [getTestBunStep(target, { unifiedTests, testFiles, buildId })], + })), + ); + } } if (isMainBranch()) {