diff --git a/.github/workflows/tests-outerloop.yml b/.github/workflows/tests-outerloop.yml index 8aa81ffa506..f79ca7017a1 100644 --- a/.github/workflows/tests-outerloop.yml +++ b/.github/workflows/tests-outerloop.yml @@ -93,7 +93,7 @@ jobs: if: always() shell: pwsh run: | - $logDirectory = "${{ github.workspace }}/artifacts/log/**/TestLogs" + $logDirectory = "${{ github.workspace }}/artifacts/TestResults" $trxFiles = Get-ChildItem -Path $logDirectory -Filter *.trx -Recurse $testResults = @() # Initialize an array to store test results @@ -172,4 +172,5 @@ jobs: path: | ${{ github.workspace }}/artifacts/log/*/*.binlog ${{ github.workspace }}/artifacts/log/*/TestLogs/** + ${{ github.workspace }}/artifacts/TestResults/*/*.trx retention-days: 5 diff --git a/eng/Testing.targets b/eng/Testing.targets index b41cd7ceb59..d9620e11fd2 100644 --- a/eng/Testing.targets +++ b/eng/Testing.targets @@ -50,7 +50,8 @@ true - false + false + false false diff --git a/tests/Aspire.Components.Common.Tests/Aspire.Components.Common.Tests.csproj b/tests/Aspire.Components.Common.Tests/Aspire.Components.Common.Tests.csproj index 3e291ae6127..8bd5357c0c0 100644 --- a/tests/Aspire.Components.Common.Tests/Aspire.Components.Common.Tests.csproj +++ b/tests/Aspire.Components.Common.Tests/Aspire.Components.Common.Tests.csproj @@ -2,6 +2,14 @@ $(DefaultTargetFramework) + + + true + true + false +