Skip to content

Commit f9d4831

Browse files
committed
publish-test-results-for-test-projects.yml: Upload test results for net10.0 for Lucene.Net.Tests.Cli and Lucene.Net.Tests.Analysis.OpenNLP
1 parent 27783c6 commit f9d4831

1 file changed

Lines changed: 27 additions & 6 deletions

File tree

.build/azure-templates/publish-test-results-for-test-projects.yml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ steps:
7070
# displayName: 'Validate Template Parameters'
7171

7272

73-
# Special case: Only supports .NET Standard 1.3
73+
# Special case: Only supports .NET Standard 1.3 (we only need to test this on one framework because it is for VS)
7474
- template: publish-test-results.yml
7575
parameters:
7676
testProjectName: 'Lucene.Net.Tests.CodeAnalysis'
@@ -81,23 +81,44 @@ steps:
8181
testResultsArtifactName: '${{ parameters.testResultsArtifactName }}'
8282
testResultsFileName: '${{ parameters.testResultsFileName }}'
8383

84-
# Special case: Only supports net8.0
84+
# Special case: Only supports net10.0 and net8.0
85+
8586
- template: publish-test-results.yml
8687
parameters:
8788
testProjectName: 'Lucene.Net.Tests.Cli'
88-
framework: 'net8.0' # Since condtions are not supported for templates, we check for the file existence within publish-test-results.yml
89+
framework: 'net10.0' # Since conditions are not supported for templates, we check for the file existence within publish-test-results.yml
90+
vsTestPlatform: '${{ parameters.vsTestPlatform }}'
91+
osName: '${{ parameters.osName }}'
92+
testResultsFormat: '${{ parameters.testResultsFormat }}'
93+
testResultsArtifactName: '${{ parameters.testResultsArtifactName }}'
94+
testResultsFileName: '${{ parameters.testResultsFileName }}'
95+
96+
- template: publish-test-results.yml
97+
parameters:
98+
testProjectName: 'Lucene.Net.Tests.Cli'
99+
framework: 'net8.0' # Since conditions are not supported for templates, we check for the file existence within publish-test-results.yml
89100
vsTestPlatform: '${{ parameters.vsTestPlatform }}'
90101
osName: '${{ parameters.osName }}'
91102
testResultsFormat: '${{ parameters.testResultsFormat }}'
92103
testResultsArtifactName: '${{ parameters.testResultsArtifactName }}'
93104
testResultsFileName: '${{ parameters.testResultsFileName }}'
94105

95-
# Special case: Only supports net8.0 and net48
106+
# Special case: Only supports net10.0, net8.0 and net48
96107

97108
- template: publish-test-results.yml
98109
parameters:
99110
testProjectName: 'Lucene.Net.Tests.Analysis.OpenNLP'
100-
framework: 'net8.0' # Since condtions are not supported for templates, we check for the file existence within publish-test-results.yml
111+
framework: 'net10.0' # Since conditions are not supported for templates, we check for the file existence within publish-test-results.yml
112+
vsTestPlatform: '${{ parameters.vsTestPlatform }}'
113+
osName: '${{ parameters.osName }}'
114+
testResultsFormat: '${{ parameters.testResultsFormat }}'
115+
testResultsArtifactName: '${{ parameters.testResultsArtifactName }}'
116+
testResultsFileName: '${{ parameters.testResultsFileName }}'
117+
118+
- template: publish-test-results.yml
119+
parameters:
120+
testProjectName: 'Lucene.Net.Tests.Analysis.OpenNLP'
121+
framework: 'net8.0' # Since conditions are not supported for templates, we check for the file existence within publish-test-results.yml
101122
vsTestPlatform: '${{ parameters.vsTestPlatform }}'
102123
osName: '${{ parameters.osName }}'
103124
testResultsFormat: '${{ parameters.testResultsFormat }}'
@@ -107,7 +128,7 @@ steps:
107128
- template: publish-test-results.yml
108129
parameters:
109130
testProjectName: 'Lucene.Net.Tests.Analysis.OpenNLP'
110-
framework: 'net48' # Since condtions are not supported for templates, we check for the file existence within publish-test-results.yml
131+
framework: 'net48' # Since conditions are not supported for templates, we check for the file existence within publish-test-results.yml
111132
vsTestPlatform: '${{ parameters.vsTestPlatform }}'
112133
osName: '${{ parameters.osName }}'
113134
testResultsFormat: '${{ parameters.testResultsFormat }}'

0 commit comments

Comments
 (0)