GitHub.VsTest.Logger 1.3.10

.NET Standard 2.1
NuGet\Install-Package GitHub.VsTest.Logger -Version 1.3.10
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.
dotnet add package GitHub.VsTest.Logger --version 1.3.10
<PackageReference Include="GitHub.VsTest.Logger" Version="1.3.10">
  <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.3.10
#r "nuget: GitHub.VsTest.Logger, 1.3.10"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.3.10

// Install GitHub.VsTest.Logger as a Cake Tool
#tool nuget:?package=GitHub.VsTest.Logger&version=1.3.10

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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.3.10 943 7/28/2022
1.3.9 72 7/28/2022
1.3.8 73 7/28/2022
1.3.7 71 7/28/2022
1.3.6 64 7/28/2022
1.2.26 71 7/28/2022
1.2.25 77 7/27/2022
1.1.17 83 7/21/2022
1.1.16 72 7/21/2022
1.1.15 77 7/21/2022
1.0.16 101 7/19/2022
1.0.15 72 7/19/2022
1.0.14 72 7/19/2022
1.0.13 78 7/19/2022