Skip to content

Commit

Permalink
try running during BuildAndTest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eerhardt committed Nov 12, 2024
1 parent 0a4bbee commit e690bbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions eng/pipelines/templates/BuildAndTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ steps:
condition: always()
continueOnError: true
- script: $(Build.SourcesDirectory)/.dotnet/dotnet publish
workingDirectory: $(Build.SourcesDirectory)/test/Libraries/Microsoft.Extensions.AotCompatibility.TestApp
displayName: Publish AOT Test

- ${{ if ne(parameters.skipQualityGates, 'true') }}:
- ${{ if eq(parameters.runAsPublic, 'true') }}:
- task: PublishPipelineArtifact@1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- https://github.com/dotnet/extensions/issues/5623 -->
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Compliance.Redaction\Microsoft.Extensions.Compliance.Redaction.csproj" />
<!-- https://github.com/dotnet/extensions/issues/5625 -->
<LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Http.Resilience\Microsoft.Extensions.Http.Resilience.csproj" />
<!-- <LibraryProjects Remove="$(RepoRoot)\src\Libraries\Microsoft.Extensions.Http.Resilience\Microsoft.Extensions.Http.Resilience.csproj" /> -->

<TrimmerRootAssembly Include="@(LibraryProjects->'%(Identity)')" />
<ProjectReference Include="@(LibraryProjects)" />
Expand All @@ -40,7 +40,7 @@

<!-- Override Test and VSTest so testing publishes this app and fails if there are any warnings/errors -->
<!-- Needs to be defined after importing the Sdk.targets -->
<Target Name="Test" DependsOnTargets="PublishProject" />
<Target Name="VSTest" DependsOnTargets="Test" />
<!-- <Target Name="Test" DependsOnTargets="PublishProject" />
<Target Name="VSTest" DependsOnTargets="Test" /> -->

</Project>

0 comments on commit e690bbf

Please sign in to comment.