Skip to content

Commit 3f82ca4

Browse files
authored
ci: disable Windows on PRs (#12162)
With merge queues we don't need to run all tests on Windows in CI on every PR update, since any failure will still block merging.
1 parent 249afe5 commit 3f82ca4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/scripts/matrices.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,7 @@ def __init__(
7575
)
7676
t_macos = Target("depot-macos-latest", "aarch64-apple-darwin", "macosx-aarch64")
7777
t_windows = Target("depot-windows-latest-16", "x86_64-pc-windows-msvc", "windows-amd64")
78-
targets = (
79-
[t_linux_x86, t_windows]
80-
if is_pr
81-
else [t_linux_x86, t_linux_arm, t_macos, t_windows]
82-
)
78+
targets = [t_linux_x86] if is_pr else [t_linux_x86, t_linux_arm, t_macos, t_windows]
8379

8480
config = [
8581
Case(

0 commit comments

Comments
 (0)