Add scheduled quarantine runs (#19352)
* Run quarantined tests every 4 hours
This commit is contained in:
parent
810b9b0c7e
commit
4e07efe60f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue