GitHub.VsTest.Logger 1.4.13-alpha

This is a prerelease version of GitHub.VsTest.Logger.
There is a newer version of this package available.
See the version list below for details.
dotnet add package GitHub.VsTest.Logger --version 1.4.13-alpha                
NuGet\Install-Package GitHub.VsTest.Logger -Version 1.4.13-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GitHub.VsTest.Logger" Version="1.4.13-alpha">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GitHub.VsTest.Logger --version 1.4.13-alpha                
#r "nuget: GitHub.VsTest.Logger, 1.4.13-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GitHub.VsTest.Logger as a Cake Addin
#addin nuget:?package=GitHub.VsTest.Logger&version=1.4.13-alpha&prerelease

// Install GitHub.VsTest.Logger as a Cake Tool
#tool nuget:?package=GitHub.VsTest.Logger&version=1.4.13-alpha&prerelease                

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.

IT commune

Screenshots

Example of PR annotation

Example of PR comment

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 step variable summary, which you can use in your workflow.

You can also view how we use it in our workflows.

Additional

Contributing

Product 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 13,016 10/28/2022
1.5.15 399 10/26/2022
1.4.26 398 10/26/2022
1.4.25 407 10/26/2022
1.4.24 390 10/26/2022
1.4.23 385 10/25/2022
1.4.22 394 10/25/2022
1.4.21 388 10/24/2022
1.4.13-alpha 185 10/24/2022
1.3.10 1,574 7/28/2022
1.3.9 417 7/28/2022
1.3.8 433 7/28/2022
1.3.7 434 7/28/2022
1.3.6 425 7/28/2022
1.2.26 435 7/28/2022
1.2.25 417 7/27/2022
1.1.17 426 7/21/2022
1.1.16 424 7/21/2022
1.1.15 431 7/21/2022
1.0.16 456 7/19/2022
1.0.15 413 7/19/2022
1.0.14 426 7/19/2022
1.0.13 445 7/19/2022