Add scheduled quarantine runs (#19352)

* Run quarantined tests every 4 hours
This commit is contained in:
Brennan 2020-02-26 11:15:48 -08:00 committed by GitHub
parent 810b9b0c7e
commit 4e07efe60f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -5,17 +5,20 @@ trigger:
include:
- master
# Run PR validation on all branches
pr:
schedules:
- cron: "0 */4 * * *"
displayName: Every 4 hours test run
branches:
include:
- '*'
- master
always: true
variables:
- ${{ if ne(variables['System.TeamProject'], 'internal') }}:
- name: _UseHelixOpenQueues
value: 'true'
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- group: DotNet-HelixApi-Access
- name: _UseHelixOpenQueues
value: 'false'
@ -32,6 +35,7 @@ jobs:
- 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
displayName: Run build.cmd helix target
env:
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
artifacts:
- name: Helix_logs