Skip to content

Commit 278559f

Browse files
Revert "Disable windows tests for RC1" (#20708)
This reverts commit 95e53df.
2 parents 6fd3950 + 3d18e98 commit 278559f

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,16 @@ jobs:
205205

206206
test_windows_fast:
207207
runs-on: [self-hosted, Windows]
208-
if: false
208+
if: "(
209+
github.event_name == 'push'
210+
&& github.ref != 'refs/heads/main'
211+
)
212+
|| github.event_name == 'merge_group'
213+
|| (
214+
github.event_name == 'pull_request'
215+
&& !contains(github.event.pull_request.body, '[skip ci]')
216+
&& !contains(github.event.pull_request.body, '[skip test_windows_fast]')
217+
)"
209218

210219
steps:
211220
- name: Reset existing repo
@@ -243,7 +252,13 @@ jobs:
243252

244253
test_windows_full:
245254
runs-on: [self-hosted, Windows]
246-
if: false
255+
if: "github.event_name == 'schedule' && github.repository == 'scala/scala3'
256+
|| github.event_name == 'push'
257+
|| (
258+
github.event_name == 'pull_request'
259+
&& !contains(github.event.pull_request.body, '[skip ci]')
260+
&& contains(github.event.pull_request.body, '[test_windows_full]')
261+
)"
247262

248263
steps:
249264
- name: Reset existing repo

0 commit comments

Comments
 (0)