Skip to content

Commit 705d8b8

Browse files
authored
Merge pull request #40 from dotnetbots/jk/mtp-gh-reporting
Report MTP test results as GitHub Actions annotations
2 parents 8e5c2d4 + 113edfb commit 705d8b8

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

build/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
Target(Build, new[] { Restore }, () => RunAsync("dotnet", $"build {solution} --no-restore"));
1717

18-
Target(Test, new[] { Build }, () => RunAsync("dotnet", $"test {solution} --no-build"));
18+
Target(Test, new[] { Build }, () => RunAsync("dotnet", $"test {solution} --no-build -- --report-gh"));
1919

2020
Target(Pack, new[] { Build }, async () =>
2121
{

source/test/Slackbot.Net.SlackClients.Http.Tests/Slackbot.Net.SlackClients.Http.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.10.0"/>
1818
<PackageReference Include="xunit.v3" Version="4.0.0"/>
1919
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.0"/>
20+
<PackageReference Include="Microsoft.Testing.Extensions.GitHubActionsReport" Version="2.4.0"/>
2021
</ItemGroup>
2122

2223
<ItemGroup>

0 commit comments

Comments
 (0)