forked from Azure/azure-cosmos-dotnet-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines-cron.yml
51 lines (41 loc) · 1.4 KB
/
azure-pipelines-cron.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# A pipeline with no CI trigger
trigger: none
pr: none
schedules:
- cron: "0 0,6,12,18 * * *" # Every 6Hrs https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=azure-devops&tabs=yaml#scheduled-triggers
displayName: Cosmos Cron
branches:
include:
- master
always: true # Run always irrespective of changes
variables:
TestArguments: ' --filter "TestCategory!=Quarantine & TestCategory!=Functional" --verbosity normal '
NonWindowsTestArguments: ' --filter "TestCategory!=Quarantine & TestCategory!=Functional & TestCategory!=Windows" --verbosity normal '
BuildConfiguration: Release
jobs:
- template: templates/static-tools.yml
parameters:
BuildConfiguration: Release
VmImage: vs2017-win2016
- template: templates/build-test.yml
parameters:
BuildConfiguration: Release
Arguments: $(NonWindowsTestArguments)
VmImage: macOS-10.14
OS: MacOS
- template: templates/build-test.yml
parameters:
BuildConfiguration: Release
Arguments: $(NonWindowsTestArguments)
VmImage: ubuntu-latest
OS: Linux
- template: templates/build-test.yml
parameters:
BuildConfiguration: Release
Arguments: $(TestArguments)
VmImage: vs2017-win2016
- template: templates/build-test.yml
parameters:
BuildConfiguration: Debug
Arguments: $(TestArguments)
VmImage: vs2017-win2016