@@ -2,22 +2,38 @@ trigger: none
22phases :
33- phase : Host_Windows
44 queue :
5- name : DotNetCore-Windows
6- parallel : 4
5+ name : Hosted VS2017
6+ parallel : 8
77 matrix :
8- Portable :
8+ Portable_Node8 :
9+ Test.RuntimeIdentifier : none
10+ Node.Version : 8.x
11+ Portable_Node10 :
912 Test.RuntimeIdentifier : none
10- SelfContainedWindows :
13+ Node.Version : 10.x
14+ SelfContainedWindows_Node8 :
1115 Test.RuntimeIdentifier : win-x64
12- SelfContainedLinux :
16+ Node.Version : 8.x
17+ SelfContainedWindows_Node10 :
18+ Test.RuntimeIdentifier : win-x64
19+ Node.Version : 10.x
20+ SelfContainedLinux_Node8 :
21+ Test.RuntimeIdentifier : linux-x64
22+ Node.Version : 8.x
23+ SelfContainedLinux_Node10 :
1324 Test.RuntimeIdentifier : linux-x64
14- SelfContainedMacOs :
25+ Node.Version : 10.x
26+ SelfContainedMacOs_Node8 :
1527 Test.RuntimeIdentifier : osx-x64
28+ Node.Version : 8.x
29+ SelfContainedMacOs_Node10 :
30+ Test.RuntimeIdentifier : osx-x64
31+ Node.Version : 10.x
1632 steps :
1733 - task : NodeTool@0
18- displayName : Install Node 10.x
34+ displayName : Install Node $(Node.Version)
1935 inputs :
20- versionSpec : 10.x
36+ versionSpec : $(Node.Version)
2137 - powershell : |
2238 test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
2339 condition: ne(variables['PB_SkipTests'], 'true')
@@ -30,22 +46,72 @@ phases:
3046 testResultsFiles : ' artifacts/logs/**/*.trx'
3147- phase : Host_macOS
3248 queue :
33- name : Hosted macOS Preview
49+ name : Hosted macOS
3450 parallel : 4
51+ # The ASP.NET Core 2.1.X templates are incompatible with Node10 on macOS
52+ # https://github.com/aspnet/Templating/issues/608
53+ matrix :
54+ Portable_Node8 :
55+ Test.RuntimeIdentifier : none
56+ Node.Version : 8.x
57+ SelfContainedWindows_Node8 :
58+ Test.RuntimeIdentifier : win-x64
59+ Node.Version : 8.x
60+ SelfContainedLinux_Node8 :
61+ Test.RuntimeIdentifier : linux-x64
62+ Node.Version : 8.x
63+ SelfContainedMacOs_Node8 :
64+ Test.RuntimeIdentifier : osx-x64
65+ Node.Version : 8.x
66+ steps :
67+ - task : NodeTool@0
68+ displayName : Install Node $(Node.Version)
69+ inputs :
70+ versionSpec : $(Node.Version)
71+ - powershell : |
72+ test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
73+ condition: ne(variables['PB_SkipTests'], 'true')
74+ displayName: Run E2E tests
75+ - task : PublishTestResults@2
76+ displayName : Publish test results
77+ condition : always()
78+ inputs :
79+ testRunner : vstest
80+ testResultsFiles : ' artifacts/logs/**/*.trx'
81+ - phase : Host_Linux
82+ queue :
83+ name : Hosted Linux Preview
84+ parallel : 8
3585 matrix :
36- Portable :
86+ Portable_Node8 :
87+ Test.RuntimeIdentifier : none
88+ Node.Version : 8.x
89+ Portable_Node10 :
3790 Test.RuntimeIdentifier : none
38- SelfContainedWindows :
91+ Node.Version : 10.x
92+ SelfContainedWindows_Node8 :
3993 Test.RuntimeIdentifier : win-x64
40- SelfContainedLinux :
94+ Node.Version : 8.x
95+ SelfContainedWindows_Node10 :
96+ Test.RuntimeIdentifier : win-x64
97+ Node.Version : 10.x
98+ SelfContainedLinux_Node8 :
99+ Test.RuntimeIdentifier : linux-x64
100+ Node.Version : 8.x
101+ SelfContainedLinux_Node10 :
41102 Test.RuntimeIdentifier : linux-x64
42- SelfContainedMacOs :
103+ Node.Version : 10.x
104+ SelfContainedMacOs_Node8 :
105+ Test.RuntimeIdentifier : osx-x64
106+ Node.Version : 8.x
107+ SelfContainedMacOs_Node10 :
43108 Test.RuntimeIdentifier : osx-x64
109+ Node.Version : 10.x
44110 steps :
45111 - task : NodeTool@0
46- displayName : Install Node 10.x
112+ displayName : Install Node $(Node.Version)
47113 inputs :
48- versionSpec : 10.x
114+ versionSpec : $(Node.Version)
49115 - powershell : |
50116 test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
51117 condition: ne(variables['PB_SkipTests'], 'true')
0 commit comments