GitHub.VsTest.Logger
1.5.16
dotnet add package GitHub.VsTest.Logger --version 1.5.16
NuGet\Install-Package GitHub.VsTest.Logger -Version 1.5.16
<PackageReference Include="GitHub.VsTest.Logger" Version="1.5.16"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="GitHub.VsTest.Logger" Version="1.5.16" />
<PackageReference Include="GitHub.VsTest.Logger"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add GitHub.VsTest.Logger --version 1.5.16
#r "nuget: GitHub.VsTest.Logger, 1.5.16"
#:package GitHub.VsTest.Logger@1.5.16
#addin nuget:?package=GitHub.VsTest.Logger&version=1.5.16
#tool nuget:?package=GitHub.VsTest.Logger&version=1.5.16
GitHub Actions adapter for Microsoft.TestPlatform
GitHub dotnet test logger without political shit.
Warning The logger is supposed to be used from within a GitHub Workflow.
TLDR
dotnet add package GitHub.VsTest.Logger --version *-*
dotnet test --logger "github"
Why?
Because technologies must be shared without the idiotic crap in their licenses.

Screenshots
Example of an annotation

Example of a Github Workflow job summary

Test run PR comment on success or failure


Usage:
<PackageReference Include="GitHub.VsTest.Logger" Version="*-*" PrivateAssets="All" IncludeAssets="runtime; build; native; contentfiles; analyzers" />
# with creation annotations via output commands
dotnet test --logger "github;name=unit-tests"
# or via Octokit (it's necessary if a workflow is triggered on "pull_request" or issue_comment, we should provide the real `sha` to the logger)
dotnet test --logger "github;name=unit-tests;GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }};GITHUB_SHA=$sha"
Parameters can be set with the command line args, or through environment variables.
We took all default variables from default github actions environment variables
and add name & GITHUB_TOKEN. All parameters are defined here.
After test run the logger produce a GitHub Workflow job summary.
You also can use the tests summary as content of a PR comment. As a reference you can view how we use it in our workflows.
Additional
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- IsExternalInit (>= 1.0.3)
- Microsoft.TestPlatform.ObjectModel (>= 17.2.0)
- Octokit (>= 1.0.0)
- StackTraceParser.Source (>= 1.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.16 | 18,942 | 10/28/2022 |
| 1.5.15 | 553 | 10/26/2022 |
| 1.4.26 | 533 | 10/26/2022 |
| 1.4.25 | 553 | 10/26/2022 |
| 1.4.24 | 530 | 10/26/2022 |
| 1.4.23 | 529 | 10/25/2022 |
| 1.4.22 | 549 | 10/25/2022 |
| 1.4.21 | 546 | 10/24/2022 |
| 1.4.13-alpha | 325 | 10/24/2022 |
| 1.3.10 | 1,753 | 7/28/2022 |
| 1.3.9 | 575 | 7/28/2022 |
| 1.3.8 | 589 | 7/28/2022 |
| 1.3.7 | 624 | 7/28/2022 |
| 1.3.6 | 582 | 7/28/2022 |
| 1.2.26 | 591 | 7/28/2022 |
| 1.2.25 | 573 | 7/27/2022 |
| 1.1.17 | 573 | 7/21/2022 |
| 1.1.16 | 584 | 7/21/2022 |
| 1.1.15 | 599 | 7/21/2022 |