Skip to content

Commit 4e07efe

Browse files
Add scheduled quarantine runs (#19352)
* Run quarantined tests every 4 hours
1 parent 810b9b0 commit 4e07efe

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.azure/pipelines/quarantined-tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ trigger:
55
include:
66
- master
77

8-
# Run PR validation on all branches
9-
pr:
8+
schedules:
9+
- cron: "0 */4 * * *"
10+
displayName: Every 4 hours test run
1011
branches:
1112
include:
12-
- '*'
13+
- master
14+
always: true
1315

1416
variables:
1517
- ${{ if ne(variables['System.TeamProject'], 'internal') }}:
1618
- name: _UseHelixOpenQueues
1719
value: 'true'
1820
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
21+
- group: DotNet-HelixApi-Access
1922
- name: _UseHelixOpenQueues
2023
value: 'false'
2124

@@ -32,6 +35,7 @@ jobs:
3235
- script: .\build.cmd -ci -NoRestore -test -projects eng\helix\helix.proj /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildAllProjects=true /p:BuildNative=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log -bl
3336
displayName: Run build.cmd helix target
3437
env:
38+
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
3539
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
3640
artifacts:
3741
- name: Helix_logs

0 commit comments

Comments
 (0)