GitHub.VsTest.Logger 1.0.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package GitHub.VsTest.Logger --version 1.0.13
NuGet\Install-Package GitHub.VsTest.Logger -Version 1.0.13
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.0.13">
  <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.0.13
#r "nuget: GitHub.VsTest.Logger, 1.0.13"
#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.0.13

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

GitHub Actions adapter for Microsoft.TestPlatform

GitHub dotnet test logger without political shit.

TLDR

dotnet test --logger "github;GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"

Why?

Because technologies must be shared without the idiotic crap in their licenses.

IT commune

Screenshots

Example of a summary

Example of PR comment

Warning The logger is supposed to be used from within a GitHub Workflow, since it requires several variables to work (because it uses GitHub Api), and although you can provide them via logger parameters, this is not recommended.

Usage:

<PackageReference Include="GitHub.VsTest.Logger" Version="*-*" />
dotnet test --logger "github;name=unit-tests;GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}"

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 2 GitHub Workflow step variables: conclusion and summary, you can use them in your workflow.

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

Conventions

Conventional commits

Versioning

Read Nerdbank.GitVersioning docs

dotnet nbgv prepare-release beta

Use the alpha suffix in the master branch, beta,rc-* in release branches. When a release branch drops the version suffix it becomes a production release.

Example Formula Public branch Prerelease suffix Example explanation
2.46.2 {Major}.{Minor}.{GitHeight}{PreReleaseSuffix} true null public branch master, version.json without any -prerelease suffix
1.46.2-beta {Major}.{Minor}.{GitHeight}{PreReleaseSuffix} true -beta public branch release/v1.4, version.json with -beta suffix
2.46.2.gba19945638 {Major}.{Minor}.{GitHeight}.g{GitHash} false null non-public branch feat1, version.json without suffix
2.46.2-custom.gba19945638 {Major}.{Minor}.{GitHeight}{PreReleaseSuffix}.g{GitHash} false -custom non-public branch feat1, version.json with -custom suffix

Commit messages

We use conventional commits. For writing a conventional commit message, you can use your default message editor, CLI tool or IDE plugin.

CLI tool

  1. Install CLI tool
npm install -g commitizen
  1. Make the repo Commitizen-friendly

  2. Run wizard of cli tool

git cz

IDE Plugins

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 9,359 10/28/2022
1.5.15 362 10/26/2022
1.4.26 357 10/26/2022
1.4.25 377 10/26/2022
1.4.24 354 10/26/2022
1.4.23 358 10/25/2022
1.4.22 358 10/25/2022
1.4.21 347 10/24/2022
1.4.13-alpha 146 10/24/2022
1.3.10 1,540 7/28/2022
1.3.9 384 7/28/2022
1.3.8 401 7/28/2022
1.3.7 398 7/28/2022
1.3.6 386 7/28/2022
1.2.26 396 7/28/2022
1.2.25 382 7/27/2022
1.1.17 388 7/21/2022
1.1.16 388 7/21/2022
1.1.15 391 7/21/2022
1.0.16 415 7/19/2022
1.0.15 379 7/19/2022
1.0.14 388 7/19/2022
1.0.13 397 7/19/2022