@@ -25,10 +25,10 @@ variables:
2525jobs :
2626- template : jobs/default-build.yml
2727 parameters :
28- jobName : Helix_quarantine_x64
29- jobDisplayName : ' Tests: Helix Quarantine x64 '
28+ jobName : Helix_quarantined_x64
29+ jobDisplayName : ' Tests: Helix'
3030 agentOs : Windows
31- timeoutInMinutes : 240
31+ timeoutInMinutes : 180
3232 steps :
3333 # Build the shared framework
3434 - script : ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
@@ -46,3 +46,101 @@ jobs:
4646 - name : Helix_logs
4747 path : artifacts/log/
4848 publishOnError : true
49+
50+ - template : jobs/default-build.yml
51+ parameters :
52+ jobName : Windows_Quarantined_x64
53+ jobDisplayName : ' Tests: Windows x64'
54+ agentOs : Windows
55+ timeoutInMinutes : 180
56+ isTestingJob : true
57+ steps :
58+ - powershell : " & ./build.ps1 -CI -nobl -all -pack -NoBuildJava"
59+ displayName : Build
60+ # The templates part can be removed when the Blazor Templates run on Helix
61+ - script : ./src/ProjectTemplates/build.cmd -ci -nobl -pack -NoRestore -NoBuilddeps "/p:RunTemplateTests=true"
62+ displayName : Pack Templates
63+ - script : ./build.cmd -ci -nobl -test -NoRestore -NoBuild -NoBuilddeps "/p:RunTemplateTests=true /p:RunQuarantinedTests=true /p:SkipHelixReadyTests=true"
64+ displayName : Run Quarantined Tests
65+ condition : always()
66+ - task : PublishTestResults@2
67+ displayName : Publish Quarantined Test Results
68+ inputs :
69+ testResultsFormat : ' xUnit'
70+ testResultsFiles : ' *.xml'
71+ searchFolder : ' $(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
72+ condition : always()
73+ artifacts :
74+ - name : Windows_Quarantined_Test_Logs
75+ path : artifacts/log/
76+ publishOnError : true
77+ includeForks : true
78+ - name : Windows_Quarantined_Test_Results
79+ path : artifacts/TestResults/
80+ publishOnError : true
81+ includeForks : true
82+
83+ - template : jobs/default-build.yml
84+ parameters :
85+ jobName : MacOS_Quarantined_Test
86+ jobDisplayName : " Tests: macOS 10.14"
87+ agentOs : macOS
88+ timeoutInMinutes : 180
89+ isTestingJob : true
90+ steps :
91+ - bash : ./build.sh --all --pack --ci --nobl --no-build-java
92+ displayName : Build
93+ # The templates part can be removed when the Blazor Templates run on Helix
94+ - bash : ./src/ProjectTemplates/build.sh --ci --nobl --pack --no-restore --no-build-deps
95+ displayName : Pack Templates (for Template tests)
96+ - bash : ./build.sh --no-build --ci --nobl --test -p:RunTemplateTests=true -p:RunQuarantinedTests=true -p:SkipHelixReadyTests=true
97+ displayName : Run Quarantined Tests
98+ - task : PublishTestResults@2
99+ displayName : Publish Quarantined Test Results
100+ inputs :
101+ testResultsFormat : ' xUnit'
102+ testResultsFiles : ' *.xml'
103+ searchFolder : ' $(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
104+ condition : always()
105+ artifacts :
106+ - name : MacOS_Quarantined_Test_Logs
107+ path : artifacts/log/
108+ publishOnError : true
109+ includeForks : true
110+ - name : MacOS_Quarantined_Test_Results
111+ path : artifacts/TestResults/
112+ publishOnError : true
113+ includeForks : true
114+
115+ - template : jobs/default-build.yml
116+ parameters :
117+ jobName : Linux_Quarantined_Test
118+ jobDisplayName : " Tests: Ubuntu 16.04 x64"
119+ agentOs : Linux
120+ timeoutInMinutes : 180
121+ isTestingJob : true
122+ useHostedUbuntu : false
123+ steps :
124+ - bash : ./build.sh --all --pack --ci --nobl --no-build-java
125+ displayName : Build
126+ # The templates part can be removed when the Blazor Templates run on Helix
127+ - bash : ./src/ProjectTemplates/build.sh --ci --nobl --pack --no-restore --no-build-deps
128+ displayName : Pack Templates (for Template tests)
129+ - bash : ./build.sh --no-build --ci --nobl --test -p:RunTemplateTests=true -p:RunQuarantinedTests=true -p:SkipHelixReadyTests=true
130+ displayName : Run Quarantined Tests
131+ - task : PublishTestResults@2
132+ displayName : Publish Quarantined Test Results
133+ inputs :
134+ testResultsFormat : ' xUnit'
135+ testResultsFiles : ' *.xml'
136+ searchFolder : ' $(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
137+ condition : always()
138+ artifacts :
139+ - name : Linux_Quarantined_Test_Logs
140+ path : artifacts/log/
141+ publishOnError : true
142+ includeForks : true
143+ - name : Linux_Quarantined_Test_Results
144+ path : artifacts/TestResults/
145+ publishOnError : true
146+ includeForks : true
0 commit comments