forked from nventive/UnoApplicationTemplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.azure-pipelines-api-integration-tests.yml
56 lines (51 loc) · 1.58 KB
/
.azure-pipelines-api-integration-tests.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
52
53
54
55
56
schedules:
- cron: "00 05 * * *" # Format is "Minutes Hours DayOfMonth Month DayOfWeek" in UTC (that's why 05 is 1h EST)
displayName: 'Nightly weekdays build - 1:00 EST'
always: true # Start a new run even if the code didn't change (because packages might have changed).
branches:
include:
- main
trigger: none
variables:
- template: build/variables.yml
stages:
#-if false
# This special if is used to remove those Dotnet_New stages for generated application.
- stage: Dotnet_New_GeneratedApp
jobs:
- template: .template.config/build/stage-donetnew.yaml
- stage: Test_Staging_GeneratedApp
dependsOn: Dotnet_New_GeneratedApp
jobs:
- job: OnWindows_Tests
pool:
vmImage : $(windowsHostedAgentImage)
variables:
ArtifactName: $(TestsArtifactName)_Generated_Staging
ApplicationEnvironment: Generated_Staging
steps:
- template: build/steps-build-tests.yml
parameters:
pathToSrc: '$(Pipeline.Workspace)/GeneratedApp/src'
solutionFileName: 'GeneratedApp.sln'
solutionName: 'GeneratedApp'
useRealApis: true
#-endif
- stage: Test_Staging
#-if false
dependsOn: []
#-endif
jobs:
- job: OnWindows_Tests
pool:
vmImage : $(windowsHostedAgentImage)
variables:
ArtifactName: $(TestsArtifactName)_Staging
ApplicationEnvironment: Staging
steps:
- template: build/steps-build-tests.yml
parameters:
pathToSrc: '$(Build.SourcesDirectory)/src'
solutionFileName: '$(SolutionName).sln'
solutionName: '$(SolutionName)'
useRealApis: true