File tree Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Expand file tree Collapse file tree 8 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 4949          "/t:Build;ExtractTestClassNames" 
5050          /bl:${{ github.workspace }}/artifacts/log/Debug/BuildTemplatesTests.binlog 
5151          -p:ExtractTestClassNamesForHelix=true 
52-           -p:RunHelixTests =true 
52+           -p:PrepareForHelix =true 
5353          -p:ExtractTestClassNamesPrefix=Aspire.Templates.Tests 
5454          -p:InstallBrowsersForPlaywright=false 
5555
Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ jobs:
160160          CI : false 
161161        run : > 
162162          ${{ env.BUILD_SCRIPT }} -restore -ci -build -projects ${{ env.TEST_PROJECT_PATH }} 
163-           /p:RunHelixTests =true 
164-           /bl:${{ github.workspace }}/artifacts/log/Debug/RunHelixTests .binlog 
163+           /p:PrepareForHelix =true 
164+           /bl:${{ github.workspace }}/artifacts/log/Debug/PrepareForHelix .binlog 
165165
166166#  Workaround for bug in Azure Functions Worker SDK. See https://github.com/Azure/azure-functions-dotnet-worker/issues/2969.
167167      - name : Rebuild for Azure Functions project 
Original file line number Diff line number Diff line change 2727    <!--  See https://learn.microsoft.com/azure/devops/pipelines/build/variables#system-variables --> 
2828    <IsAzdoCIRunner  Condition ="  '$(IsAzdoCIRunner)' == '' and '$(SYSTEM_TEAMPROJECT)' != '' " IsAzdoCIRunner >
2929
30-     <IsAzdoHelixRunner  Condition ="  '$(IsAzdoHelixRunner)' == '' and '$(RunHelixTests )' == 'true' " IsAzdoHelixRunner >
30+     <IsAzdoHelixRunner  Condition ="  '$(IsAzdoHelixRunner)' == '' and '$(PrepareForHelix )' == 'true' " IsAzdoHelixRunner >
3131  </PropertyGroup >
3232
3333  <PropertyGroup >
Original file line number Diff line number Diff line change 4646              -restore -build 
4747              -configuration ${{ parameters.buildConfig }} 
4848              -pack 
49-               /p:RunHelixTests =${{ lower(eq(parameters.runHelixTests, 'true')) }} 
49+               /p:PrepareForHelix =${{ lower(eq(parameters.runHelixTests, 'true')) }} 
5050              /bl:${{ parameters.repoLogPath }}/build.binlog 
5151              $(_OfficialBuildIdArgs) 
5252      displayName : Build 
Original file line number Diff line number Diff line change 8989    <ProjectReference  Include =" $(PlaygroundSourceDir)withdockerfile/WithDockerfile.AppHost/WithDockerfile.AppHost.csproj" 
9090  </ItemGroup >
9191
92-   <ItemGroup  Condition =" '$(RunHelixTests )' == 'true'" Label =" Prepare archive dir for helix" 
92+   <ItemGroup  Condition =" '$(PrepareForHelix )' == 'true'" Label =" Prepare archive dir for helix" 
9393    <None  Include =" $(MSBuildProjectDirectory)\**\*" Link =" $(DeployOutsideOfRepoSupportFilesRelativeDir)tests\$(MSBuildProjectName)\%(RecursiveDir)%(FileName)%(Extension)" CopyToOutputDirectory =" PreserveNewest" 
9494    <None  Include =" $(RepoRoot)playground\**\*" Link =" $(DeployOutsideOfRepoSupportFilesRelativeDir)playground\%(RecursiveDir)%(FileName)%(Extension)" CopyToOutputDirectory =" PreserveNewest" 
9595    <None  Include =" $(RepoRoot)src\Aspire.Hosting\Utils\PasswordGenerator.cs" Link =" $(DeployOutsideOfRepoSupportFilesRelativeDir)tests\$(MSBuildProjectName)\PasswordGenerator.cs" CopyToOutputDirectory =" PreserveNewest" 
Original file line number Diff line number Diff line change 1111    <TestArchiveTestsDir >$(TestArchiveTestsDirForTemplateTests)</TestArchiveTestsDir >
1212
1313    <InstallBrowsersForPlaywright  Condition =" '$(InstallBrowsersForPlaywright)' == '' and '$(CODESPACES)' == 'true'" InstallBrowsersForPlaywright >
14-     <InstallBrowsersForPlaywright  Condition =" '$(InstallBrowsersForPlaywright)' == '' and '$(RunHelixTests )' == 'true' and '$(ContinuousIntegrationBuild)' == 'true'" InstallBrowsersForPlaywright >
14+     <InstallBrowsersForPlaywright  Condition =" '$(InstallBrowsersForPlaywright)' == '' and '$(PrepareForHelix )' == 'true' and '$(ContinuousIntegrationBuild)' == 'true'" InstallBrowsersForPlaywright >
1515    <InstallBrowsersForPlaywright  Condition =" '$(InstallBrowsersForPlaywright)' == '' and '$(OS)' == 'Windows_NT' and '$(ContinuousIntegrationBuild)' != 'true'" InstallBrowsersForPlaywright >
1616
17-     <ExtractTestClassNamesForHelix  Condition =" '$(ContinuousIntegrationBuild)' == 'true' or '$(RunHelixTests )' == 'true'" ExtractTestClassNamesForHelix >
17+     <ExtractTestClassNamesForHelix  Condition =" '$(ContinuousIntegrationBuild)' == 'true' or '$(PrepareForHelix )' == 'true'" ExtractTestClassNamesForHelix >
1818    <ExtractTestClassNamesPrefix >Aspire.Templates.Tests</ExtractTestClassNamesPrefix >
1919
2020    <!-- 
Original file line number Diff line number Diff line change 99
1010    <DeployRunSettingsFile  Condition =" '$(DeployRunSettingsFile)' == ''" DeployRunSettingsFile >
1111    <!--  Use a separate xunit.runner.json for helix that disables parallel test runs --> 
12-     <XunitRunnerJson  Condition =" '$(XunitRunnerJson)' == '' and '$(RunHelixTests )' == 'true'" XunitRunnerJson >
12+     <XunitRunnerJson  Condition =" '$(XunitRunnerJson)' == '' and '$(PrepareForHelix )' == 'true'" XunitRunnerJson >
1313    <XunitRunnerJson  Condition =" '$(XunitRunnerJson)' == ''" XunitRunnerJson >
1414  </PropertyGroup >
1515
1919  </ItemGroup >
2020
2121  <Target  Name =" ZipTestArchive" AfterTargets =" Build" 
22-           Condition ="  '$(IsTestProject)' == 'true' and '$(RunHelixTests )' == 'true' and '$(RunOnAzdoHelix)' == 'true' and '$(IsTestUtilityProject)' != 'true' and '$(IsCrossTargetingBuild)' != 'true'" 
22+           Condition ="  '$(IsTestProject)' == 'true' and '$(PrepareForHelix )' == 'true' and '$(RunOnAzdoHelix)' == 'true' and '$(IsTestUtilityProject)' != 'true' and '$(IsCrossTargetingBuild)' != 'true'" 
2323    <Error  Condition =" '$(TestArchiveTestsDir)' == ''" Text =" TestArchiveTestsDir property to archive the test folder must be set." 
2424    <PropertyGroup >
2525      <TestsArchiveSourceDir  Condition =" '$(TestsArchiveSourceDir)' == ''" TestsArchiveSourceDir >
3535
3636  <!--  Used for running one helix job per test class --> 
3737  <Target  Name =" ExtractTestClassNames" 
38-           Condition ="  '$(IsTestProject)' == 'true' and '$(ExtractTestClassNamesForHelix)' == 'true' and '$(RunHelixTests )' == 'true' and '$(IsTestUtilityProject)' != 'true'" 
38+           Condition ="  '$(IsTestProject)' == 'true' and '$(ExtractTestClassNamesForHelix)' == 'true' and '$(PrepareForHelix )' == 'true' and '$(IsTestUtilityProject)' != 'true'" 
3939          BeforeTargets =" ZipTestArchive" 
4040
4141    <Error  Condition =" '$(ExtractTestClassNamesPrefix)' == ''" 
Original file line number Diff line number Diff line change 3737
3838  <PropertyGroup >
3939    <!--  copy by default only when archiving tests, and for test projects that support running out of repo --> 
40-     <DeployOutsideOfRepoSupportFiles  Condition =" '$(DeployOutsideOfRepoSupportFiles)' == '' and '$(RunHelixTests )' == 'true' and '$(IsTestProject)' == 'true'" DeployOutsideOfRepoSupportFiles >
40+     <DeployOutsideOfRepoSupportFiles  Condition =" '$(DeployOutsideOfRepoSupportFiles)' == '' and '$(PrepareForHelix )' == 'true' and '$(IsTestProject)' == 'true'" DeployOutsideOfRepoSupportFiles >
4141
4242    <IncludeTestPackages  Condition =" '$(IncludeTestPackages)' == '' and ('$(IsTestProject)' == 'true' or '$(IsTestUtilityProject)' == 'true')" IncludeTestPackages >
4343    <GeneratedPackagesVersionsPropsPath  Condition =" '$(GeneratedPackagesVersionsPropsPath)' == ''" GeneratedPackagesVersionsPropsPath >
9595
9696  <Target  Name =" _UpdateArchiveSourcePath" 
9797          BeforeTargets =" ZipTestArchive" 
98-           Condition ="  '$(IsTestProject)' == 'true' and '$(RunHelixTests )' == 'true' and '$(DeployOutsideOfRepoSupportFilesRelativeDir)' != ''" 
98+           Condition ="  '$(IsTestProject)' == 'true' and '$(PrepareForHelix )' == 'true' and '$(DeployOutsideOfRepoSupportFilesRelativeDir)' != ''" 
9999    <PropertyGroup >
100100      <TestsArchiveSourceDir >$(OutDir)$(DeployOutsideOfRepoSupportFilesRelativeDir)</TestsArchiveSourceDir >
101101    </PropertyGroup >
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments