Skip to content

Commit f7354e8

Browse files
committed
Add test result logger
Test test logger
1 parent 9fe5406 commit f7354e8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build/Build.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class Build : NukeBuild, ICheckForUnityMetaFiles, IUnityPackageVersionMatchesGit
8383
.SetLoggers("trx;logfilename=test-results.trx")
8484
.EnableNoRestore()
8585
.EnableNoBuild()
86+
.AddLoggers("GitHubActions")
8687
);
8788
});
8889

tests/tests.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="FluentAssertions" Version="6.11.0" />
13+
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3">
14+
<PrivateAssets>all</PrivateAssets>
15+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
16+
</PackageReference>
1317
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0" />
1418
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.0" />
1519
<PackageReference Include="Verify" Version="20.8.0" />

0 commit comments

Comments
 (0)