Skip to content

Commit

Permalink
Fix producing test results file for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced committed Mar 14, 2024
1 parent a703e9b commit 8dc8857
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/Chisel.Tests/Chisel.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@
</ItemGroup>

<ItemGroup>
<VSTestLogger Include="GitHubActions" Visible="false" Condition="$(ContinuousIntegrationBuild) == 'true'" />
<VSTestLogger Include="trx%3BLogFileName=TestResults-$(TargetFramework).trx" Visible="false" Condition="$(ContinuousIntegrationBuild) == 'true'" />
<VSTestLogger Include="GitHubActions" Visible="false" />
<VSTestLogger Include="trx%3BLogFileName=TestResults-$(TargetFramework).trx" Visible="false" />
<VSTestLogger Include="html%3BLogFileName=TestResults-$(TargetFramework).html" Visible="false" />
</ItemGroup>

<PropertyGroup Condition="$(ContinuousIntegrationBuild) == 'true'">
<VSTestResultsDirectory>$([MSBuild]::NormalizePath('$(MSBuildProjectDirectory)', '..', '..'))</VSTestResultsDirectory>
<VSTestLogger>@(VSTestLogger)</VSTestLogger>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="../../src/Chisel/Chisel.csproj" />
</ItemGroup>
Expand Down

0 comments on commit 8dc8857

Please sign in to comment.