Skip to content

Commit

Permalink
chore: Suppress test logs output when running percy exec (#10249)
Browse files Browse the repository at this point in the history
chore: change percy test run condition
  • Loading branch information
filzrev authored Oct 12, 2024
1 parent 5e17cb5 commit c67891e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<None Include="TestData\**" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

<PropertyGroup Condition="'$(ContinuousIntegrationBuild)' == 'true'">
<PropertyGroup Condition="'$(ContinuousIntegrationBuild)' == 'true' AND '$(PERCY_TOKEN)' == ''">
<VSTestResultsDirectory>$(MSBuildThisFileDirectory)TestResults</VSTestResultsDirectory>
<VSTestLogger>$(VSTestLogger);trx%3BLogFileName=TestResults-$(MSBuildProjectName)-$(TargetFramework).trx</VSTestLogger>
<VSTestLogger>$(VSTestLogger);html%3BLogFileName=TestResults-$(MSBuildProjectName)-$(TargetFramework).html</VSTestLogger>
Expand Down

0 comments on commit c67891e

Please sign in to comment.